-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (40 loc) · 1.08 KB
/
docker-compose.yml
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
37
38
39
40
41
42
43
44
45
version: '2'
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
volumes:
- ./frontend:/frontend
- ./client:/client
#issue with which node_modules folder docker sees (see https://github.com/barrysteyn/node-scrypt/issues/148)
- ./client/visualizer/node_modules
- ./client/playback/node_modules
- ./schema:/schema
ports:
- 3000:3000
# environment:
# - NODE_PATH=/install/node_modules
backend:
build:
context: ./backend
dockerfile: Dockerfile
volumes:
- ./backend:/code
ports:
- 8000:80
environment:
- DJANGO_SETTINGS_MODULE=dev_settings
command: bash -c 'python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:80'
compile:
build:
context: './infrastructure/worker'
dockerfile: ./../compile.Dockerfile
environment:
- DOMAIN=localhost:8000
game:
build:
context: './infrastructure/worker'
dockerfile: ./../game.Dockerfile
environment:
- DOMAIN=localhost:8000