-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
77 lines (72 loc) · 1.3 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
version: '3'
networks:
web:
external: true
treasurehunt-backend:
services:
proxy:
image: nginx:1.25-alpine
depends_on:
- webhook
networks:
- web
- treasurehunt-backend
volumes:
- ./proxy/server.conf:/etc/nginx/conf.d/default.conf:ro
expose:
- 80
logging:
driver: "none"
restart: unless-stopped
webhook:
build: ./webhook
depends_on:
- db
networks:
- treasurehunt-backend
volumes:
- ./data:/data:rw
- ./wom-source.pem:/keys/wom-source.pem:ro
env_file:
- config.env
expose:
- 9000
logging:
driver: "local"
options:
max-size: "10m"
max-file: "3"
restart: unless-stopped
db:
image: mysql:5.7.43
networks:
- treasurehunt-backend
env_file: config.env
logging:
driver: "none"
restart: unless-stopped
db-client:
build: ./mysql-client
depends_on:
- db
networks:
- treasurehunt-backend
env_file: config.env
logging:
driver: "none"
database-manager:
image: phpmyadmin:5.2.1-apache
depends_on:
- db
networks:
- web
- treasurehunt-backend
env_file: config.env
environment:
- "PMA_HOST=db"
expose:
- "80"
stdin_open: true
tty: true
logging:
driver: "none"