-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
74 lines (73 loc) · 1.45 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
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
74
version: "3"
services:
db:
image: postgis/postgis:12-3.0-alpine
ports:
- "5432"
env_file:
- postgres.env
- mbtiles.env
volumes:
- ./data/initdb:/docker-entrypoint-initdb.d
- ./data/db:/var/lib/postgresql/data
nginx:
image: nginx:stable-alpine
ports:
- '3080:80'
volumes:
- ./config/nginx:/etc/nginx/conf.d
- ./project:/src
depends_on:
- web
web:
image: chronmaps/backend:latest
depends_on:
- db
volumes:
- ./project:/src
- ./config:/config
ports:
- "8086:80"
- "8006:81"
env_file:
- django.env
- postgres.env
- auth.env
redis:
image: redis:alpine
mbtiles:
image: morlov/mbtiles-psql:latest
env_file:
- mbtiles.env
- postgres.env
volumes:
- ./data/mbtiles:/root/mbtiles
notipsta:
depends_on:
- db
image: chronmaps/backend:notipsta
env_file:
- mbtiles.env
- postgres.env
volumes:
- ./data/mbtiles:/root/mbtiles
- ./data/scripts:/scripts
- ./data/data:/data
frontend:
depends_on:
- nginx
image: chronmaps/frontend:release-prod
env_file:
- frontend.env
celery:
depends_on:
- redis
image: chronmaps/backend:latest
entrypoint: ["/bin/ash", "./celery.sh"]
volumes:
- ./project:/src
- ./config:/config
env_file:
- django.env
- postgres.env
- auth.env