-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (62 loc) · 1.26 KB
/
docker-compose.yml
File metadata and controls
63 lines (62 loc) · 1.26 KB
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
version: "3.9"
services:
db:
build:
context: db/
args:
MYSQL_PROD_HOST: ${MYSQL_PROD_HOST}
MYSQL_PROD_USER: ${MYSQL_PROD_USER}
MYSQL_PROD_PASSWORD: ${MYSQL_PROD_PASSWORD}
MYSQL_PROD_DATABASE: ${MYSQL_PROD_DATABASE}
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: "root"
healthcheck:
test: mysql -uroot -proot -e 'show databases;'
interval: 5s
timeout: 2s
retries: 10
stop_signal: SIGKILL
webui:
build: webui/
depends_on:
db:
condition: service_healthy
ports:
- "9630:8000"
volumes:
- ./webui:/app
environment:
APP_ENV: development
stop_signal: SIGKILL
ghbot:
build:
context: ghbot/
args:
GHBOT_SMEE: ${GHBOT_SMEE}
depends_on:
db:
condition: service_healthy
ports:
- "7410:2000"
volumes:
- ./ghbot:/app
environment:
APP_ENV: development
stop_signal: SIGKILL
crud:
build:
context: crud/
args:
CRUD_SLACK_SMEE: ${CRUD_SLACK_SMEE}
depends_on:
db:
condition: service_healthy
ports:
- "8520:2000"
volumes:
- ./crud:/app
environment:
APP_ENV: development
stop_signal: SIGKILL