forked from Quackster/Kepler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
33 lines (32 loc) · 753 Bytes
/
compose.yml
File metadata and controls
33 lines (32 loc) · 753 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
31
32
33
services:
kepler:
build: .
container_name: kepler
restart: unless-stopped
env_file:
- .env
depends_on:
mariadb:
condition: service_healthy
ports:
- "${SERVER_PORT}:${SERVER_PORT}"
- "${RCON_PORT}:${RCON_PORT}"
- "${MUS_PORT}:${MUS_PORT}"
mariadb:
image: mariadb:11.4
container_name: kepler-mariadb
restart: unless-stopped
env_file:
- .env
volumes:
- mariadb:/var/lib/mysql
- ./tools/kepler.sql:/docker-entrypoint-initdb.d/kepler.sql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 3
volumes:
mariadb:
name: kepler-mariadb