-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
30 lines (29 loc) · 796 Bytes
/
compose.yml
File metadata and controls
30 lines (29 loc) · 796 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:
bot:
image: breeze:latest
restart: unless-stopped
env_file: .env.development
depends_on:
db:
condition: service_healthy
environment:
RUST_LOG: breeze=info
DATABASE_URL: ${DATABASE_URL}
DISCORD_TOKEN: ${DISCORD_TOKEN}
CONFIG_PATH: /config/config.toml
volumes:
- ./config.toml:/config/config.toml
- /var/run/docker.sock:/var/run/docker.sock
db:
image: mariadb:latest
restart: unless-stopped
env_file: .env.development
environment:
MARIADB_ROOT_PASSWORD: ${DATABASE_PASSWORD}
MARIADB_DATABASE: ${DATABASE_NAME}
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 3