-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.apps.prod.yml
97 lines (90 loc) · 2.9 KB
/
docker-compose.apps.prod.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
89
90
91
92
93
94
95
96
97
version: '3.8'
services:
watchdog_core:
image: vobilyk/watchdog_core:latest
container_name: 'watchdog_core'
restart: on-failure
networks:
- back
ports:
- "5050:5050"
environment:
- ASPNETCORE_ENVIRONMENT=Production
env_file:
- /etc/environment
volumes:
- ./resources:/app/Resources
watchdog_collector:
image: vobilyk/watchdog_collector:latest
container_name: 'watchdog_collector'
restart: on-failure
networks:
- back
ports:
- "5090:5090"
environment:
- ASPNETCORE_ENVIRONMENT=Production
env_file:
- /etc/environment
watchdog_loader:
image: vobilyk/watchdog_loader:latest
container_name: 'watchdog_loader'
restart: on-failure
networks:
- back
ports:
- "5110:5110"
environment:
ASPNETCORE_ENVIRONMENT: 'Production'
env_file:
- /etc/environment
watchdog_notifier:
image: vobilyk/watchdog_notifier:latest
container_name: 'watchdog_notifier'
restart: on-failure
networks:
- back
ports:
- "5070:5070"
environment:
ASPNETCORE_ENVIRONMENT: 'Production'
env_file:
- /etc/environment
watchdog_emailer:
image: vobilyk/watchdog_emailer:latest
container_name: 'watchdog_emailer'
restart: on-failure
networks:
- back
ports:
- "5130:5130"
environment:
ASPNETCORE_ENVIRONMENT: 'Production'
env_file:
- /etc/environment
watchdog_frontend:
depends_on:
- watchdog_core
- watchdog_collector
- watchdog_notifier
- watchdog_loader
- watchdog_emailer
image: vobilyk/watchdog_frontend:latest
container_name: 'watchdog_frontend'
restart: on-failure
networks:
- back
- front
ports:
- "80:80"
- "443:443"
volumes:
- /etc/letsencrypt/live/bsa-watchdog.westeurope.cloudapp.azure.com/cert.pem:/etc/letsencrypt/live/bsa-watchdog.westeurope.cloudapp.azure.com/cert.pem
- /etc/letsencrypt/live/bsa-watchdog.westeurope.cloudapp.azure.com/chain.pem:/etc/letsencrypt/live/bsa-watchdog.westeurope.cloudapp.azure.com/chain.pem
- /etc/letsencrypt/live/bsa-watchdog.westeurope.cloudapp.azure.com/fullchain.pem:/etc/letsencrypt/live/bsa-watchdog.westeurope.cloudapp.azure.com/fullchain.pem
- /etc/letsencrypt/live/bsa-watchdog.westeurope.cloudapp.azure.com/privkey.pem:/etc/letsencrypt/live/bsa-watchdog.westeurope.cloudapp.azure.com/privkey.pem
networks:
back:
driver: bridge
front:
driver: bridge