-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.dev.yml
44 lines (43 loc) · 1.12 KB
/
docker-compose.dev.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
version: "3.2"
services:
static:
command: /bin/sh -c "/usr/src/app/watch_static_dev.sh"
build: ./webserver/static
volumes:
- ./webserver/static:/usr/src/app
django-app:
command: /bin/sh -c "/usr/src/app/dev_entrypoint_django.sh"
environment:
COVERAGE_RCFILE: "/opt/.coveragerc"
DEBUG: "TRUE"
volumes:
- ./webserver:/usr/src/app
- ./coverage:/opt/coverage
- ./scripts:/opt/scripts
ports:
- 3000:3000
- 8000:8000
depends_on:
- static
websocket-app:
command: watchmedo auto-restart --directory=./ --pattern=*.py --recursive -- daphne -e ssl:8010:privateKey=key.pem:certKey=cert.pem webserver.asgi:application --access-log /dev/stdout
environment:
DEBUG: "TRUE"
volumes:
- ./webserver:/usr/src/app
ports:
- 8010:8010
celery:
command: /bin/sh -c "/usr/src/app/dev_entrypoint_celery.sh"
environment:
DEBUG: "TRUE"
volumes:
- ./webserver:/usr/src/app
flower:
volumes:
- ./webserver:/usr/src/app
node-app:
ports:
- 8020:8020
volumes:
- ./node-webserver:/usr/src/app