-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.apps.prod.yml
94 lines (89 loc) · 2.01 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
version: "3.1"
services:
leetwars_core:
image: tatihutii/leetwars_core:latest
container_name: "leetwars_core"
restart: on-failure
networks:
- back
ports:
- "5050:5050"
environment:
- ASPNETCORE_ENVIRONMENT=Production
env_file:
- /etc/environment
volumes:
- ./resources:/app/Resources
leetwars_notifier:
image: tatihutii/leetwars_notifier:latest
container_name: "leetwars_notifier"
restart: on-failure
networks:
- back
ports:
- "5070:5070"
environment:
ASPNETCORE_ENVIRONMENT: "Production"
env_file:
- /etc/environment
leetwars_builder:
image: tatihutii/leetwars_builder:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
container_name: "leetwars_builder"
restart: on-failure
networks:
- back
ports:
- "5090:5090"
environment:
ASPNETCORE_ENVIRONMENT: "Production"
env_file:
- /etc/environment
leetwars_emailer:
image: tatihutii/leetwars_emailer:latest
container_name: "leetwars_emailer"
restart: on-failure
networks:
- back
ports:
- "5080:5080"
environment:
ASPNETCORE_ENVIRONMENT: "Production"
env_file:
- /etc/environment
leetwars_codeanalyzer:
image: tatihutii/leetwars_codeanalyzer:latest
container_name: "leetwars_codeanalyzer"
restart: on-failure
networks:
- back
ports:
- "5100:5100"
environment:
ASPNETCORE_ENVIRONMENT: "Production"
env_file:
- /etc/environment
leetwars_frontend:
depends_on:
- leetwars_core
- leetwars_notifier
- leetwars_builder
- leetwars_emailer
- leetwars_codeanalyzer
image: tatihutii/leetwars_frontend:latest
container_name: "leetwars_frontend"
restart: on-failure
networks:
- back
- front
ports:
- "80:80"
- "443:443"
volumes:
- /etc/letsencrypt:/etc/letsencrypt
networks:
back:
driver: bridge
front:
driver: bridge