-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yml
74 lines (69 loc) · 1.96 KB
/
docker-compose.override.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: '3.7'
services:
db:
ports:
- "5432:5432"
volumes:
- ./:/usr/src/app
minio:
ports:
- "9000:9000"
- "9010:9010"
app:
restart: "no"
build:
target: dev
ports:
- "8000:8000"
- "8888:8888"
volumes:
- ./:/usr/src/app
# Separate volumes for writable directories inside the container
- /usr/src/app/assets
- /usr/src/app/cache
- /usr/src/app/jupyter
- /usr/src/app/log
- /usr/src/app/media
# Ignore the local .env file, to avoid it conflicting with variables set
# in the docker-compose.yml file, particularly by Dagster
- ./env.example:/usr/src/app/.env
environment:
DJANGO_SETTINGS_MODULE: hea.settings.local
# Put .coverage in a writable directory
COVERAGE_FILE: log/.coverage
command:
- --timeout=3600
- --workers=12
- --reload
dagster_webserver:
restart: no
ports:
- "3000:3000"
volumes:
- ./:/usr/src/app
# Separate volumes for writable directories inside the container
- /usr/src/app/assets
- /usr/src/app/cache
- /usr/src/app/jupyter
- /usr/src/app/log
- /usr/src/app/media
# Ignore the local .env file, to avoid it conflicting with variables set
# in the docker-compose.yml file, particularly by Dagster
- ./env.example:/usr/src/app/.env
environment:
DJANGO_SETTINGS_MODULE: hea.settings.local
dagster_daemon:
restart: no
volumes:
- ./:/usr/src/app
# Separate volumes for writable directories inside the container
- /usr/src/app/assets
- /usr/src/app/cache
- /usr/src/app/jupyter
- /usr/src/app/log
- /usr/src/app/media
# Ignore the local .env file, to avoid it conflicting with variables set
# in the docker-compose.yml file, particularly by Dagster
- ./env.example:/usr/src/app/.env
environment:
DJANGO_SETTINGS_MODULE: hea.settings.local