-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
61 lines (56 loc) · 1.24 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: '3'
services:
db:
image: postgres
environment:
- POSTGRES_DB=covid19grm
- POSTGRES_USER=covid19grm
- POSTGRES_PASSWORD=covid19grm
volumes:
- data-db:/var/lib/postgresql/data/
ports:
- "5432:5432"
restart: always
api:
environment:
- DEBUG=False
build:
context: ./app
dockerfile: ./Dockerfile.dev
volumes:
- ./app:/app
- data-media:/app/unprotected/shared:z
- data-shared:/app/media/shared:z
- static_volume:/app/static:z
depends_on:
- db
restart: always
sdc:
image: streamsets/datacollector:3.18.1
volumes:
- data-shared:/opt/sdcvol:z
restart: always
nginx:
image: nginx
ports:
- 80:80
- 443:443
volumes:
- ./nginx/config/nginx.conf:/etc/nginx/conf.d/default.conf
- static_volume:/var/www/covid19_grm_report/static:z
- data-media:/var/www/covid19_grm_report/unprotected/shared:z
- data-shared:/var/www/covid19_grm_report/media/shared:z
depends_on:
- api
restart: always
volumes:
data-shared:
driver: local
driver_opts:
o: bind
type: none
device: /opt/sdcvol
data-media:
data-db:
static_volume:
certs_path: