forked from KarlOfDuty/SupportBoi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
30 lines (28 loc) · 740 Bytes
/
Copy pathcompose.yaml
File metadata and controls
30 lines (28 loc) · 740 Bytes
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
services:
supportboi:
image: supportboi:latest
restart: unless-stopped
volumes:
- ./config.yml:/app/config.yml:ro
- ./transcripts:/app/transcripts
- ./logs:/app/log
depends_on:
supportboi-db:
condition: service_healthy
supportboi-db:
image: mariadb:11
restart: unless-stopped
environment:
MARIADB_ROOT_PASSWORD: ${DB_ROOT_PASSWORD:?required}
MARIADB_DATABASE: supportboi
MARIADB_USER: supportboi
MARIADB_PASSWORD: ${DB_PASSWORD:?required}
volumes:
- db_data:/var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 10s
timeout: 5s
retries: 5
volumes:
db_data: