-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (35 loc) · 873 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (35 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '2'
services:
server:
build:
context: ./question-annotation/server/
command: /usr/app/node_modules/.bin/nodemon src/index.js
volumes:
- ./question-annotation/server/:/usr/app
- /usr/app/node_modules
ports:
- "8080:8080"
# env_file: ./server/.env # TODO - uncomment this to auto-load your .env file!
environment:
- NODE_ENV=development
- CHOKIDAR_USEPOLLING=true
freetext-tutor:
build:
context: ./freetext-tutor/
volumes:
- ./freetext-tutor/:/app/
ports:
- "5000:5000"
command: gunicorn -b :5000 app:app
client:
build:
context: ./question-annotation/client/
command: npm start
volumes:
- ./question-annotation/client/:/usr/app
- /usr/app/node_modules
depends_on:
- server
- freetext-tutor
ports:
- "3000:3000"