You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
services:
|
|
|
|
server:
|
|
|
|
command: --debug --dbaddr db --dbuser pokerogue --dbpass pokerogue --dbname pokeroguedb
|
|
|
|
image: ghcr.io/pagefaultgames/rogueserver:master
|
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
db:
|
|
|
|
condition: service_healthy
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
ports:
|
|
|
|
- "8001:8001"
|
|
|
|
db:
|
|
|
|
image: mariadb:11
|
|
|
|
restart: unless-stopped
|
|
|
|
healthcheck:
|
|
|
|
test: [ "CMD", "healthcheck.sh", "--su-mysql", "--connect", "--innodb_initialized" ]
|
|
|
|
start_period: 10s
|
|
|
|
start_interval: 10s
|
|
|
|
interval: 1m
|
|
|
|
timeout: 5s
|
|
|
|
retries: 3
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: admin
|
|
|
|
MYSQL_DATABASE: pokeroguedb
|
|
|
|
MYSQL_USER: pokerogue
|
|
|
|
MYSQL_PASSWORD: pokerogue
|
|
|
|
volumes:
|
|
|
|
- database:/var/lib/mysql
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
database:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
internal:
|