forked from bentein/bank-quiz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (52 loc) · 1.06 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
version: '3'
services:
nginx:
image: "bentein/quiz-nginx:ssl"
depends_on:
- quiz-app
- quiz-auth
volumes:
- ./data/certbot/conf:/etc/letsencrypt
- ./data/certbot/www:/var/www/certbot
ports:
- "80:8080"
- "443:443"
database:
image: "bentein/quiz-mysql:0.2"
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=pass
quiz-app:
image: "bentein/quiz-app:0.1"
depends_on:
- database
ports:
- "40001:8080"
env_file:
- common.env
quiz-auth:
image: "bentein/quiz-auth:0.1"
depends_on:
- database
ports:
- "40000:8080"
env_file:
- common.env
- authorization.env
prometheus:
image: "bentein/quiz-prometheus:0.2"
depends_on:
- quiz-app
- quiz-auth
ports:
- "9090:9090"
grafana:
image: "bentein/quiz-grafana:0.2"
ports:
- "3001:3000"
certbot:
image: certbot/certbot
volumes:
- ./data/certbot/conf:/etc/letsencrypt
- ./data/certbot/www:/var/www/certbot