Skip to content

Commit

Permalink
update example compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed May 12, 2024
1 parent 5d6bfe0 commit 4430a18
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions docker-compose.Example.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,34 @@
services:
server:
image: ghcr.io/pagefaultgames/pokerogue:latest
command: --debug --dbaddr db:3306 --dbuser pokerogue --dbpass pokerogue --dbname pokeroguedb
command: --debug --dbaddr db --dbuser pokerogue --dbpass pokerogue --dbname pokeroguedb
image: ghcr.io/pagefaultgames/rogueserver:master
restart: unless-stopped
depends_on:
- db
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:
Expand Down

0 comments on commit 4430a18

Please sign in to comment.