-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
88 lines (80 loc) · 1.7 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: '3.5'
services:
mongo:
image: mongo
restart: unless-stopped
volumes:
- meteo_mongo_db:/data/db
web:
build: frontend/
restart: unless-stopped
healthcheck:
test: ["CMD", "nc", "-z", "localhost", "80"]
ports:
- "8040:8040"
- "8041:8041"
environment:
- TZ="Europe/Berlin"
volumes:
- ${PWD}/frontend/caddy/dev/Caddyfile:/etc/Caddyfile
- pushpreview:/pushpreview
- sslstore:/root/.caddy
app:
build: backend/app
restart: unless-stopped
healthcheck:
test: ["CMD", "nc", "-z", "localhost", "5000"]
environment:
- TZ="Europe/Berlin"
- DB_CONN="mongodb://mongo:27017/"
depends_on:
- mongo
- web
- mq
datasource:
build: backend/data
restart: unless-stopped
healthcheck:
test: ["CMD", "nc", "-z", "localhost", "5000"]
environment:
- TZ="Europe/Berlin"
depends_on:
- mq
mq:
image: rabbitmq:3-alpine
restart: unless-stopped
volumes:
- mqdata:/var/lib/rabbitmq
dwd:
build: backend/dwd
restart: unless-stopped
environment:
- TZ="Europe/Berlin"
- DB_CONN="mongodb://mongo:27017/"
volumes:
- dwd:/data
- pushpreview:/pushpreview
tmpfs:
- /scratch
- /forecast
depends_on:
- app
- mongo
tileserver:
build: tileserver-gl-meteocool
restart: unless-stopped
healthcheck:
test: ["CMD", "nc", "-z", "localhost", "80"]
environment:
- TZ="Europe/Berlin"
volumes:
- dwd:/data
- ${PWD}/tileserver-gl-meteocool/config:/etc/ts
depends_on:
- web
volumes:
dwd:
meteo_mongo_db:
sslstore:
pushpreview:
mqdata: