add example compose file

This commit is contained in:
Up 2024-05-09 11:41:28 +02:00
parent 50c2874adf
commit ccf5e6e832
No known key found for this signature in database
GPG Key ID: 3B75CD7439FEB388

View File

@ -0,0 +1,27 @@
services:
server:
image: ghcr.io/pagefaultgames/pokerogue:latest
command: --debug --dbaddr db:3306 --dbuser pokerogue --dbpass pokerogue --dbname pokeroguedb
restart: unless-stopped
depends_on:
- db
networks:
- internal
ports:
- "8001:8001"
db:
image: mariadb:11
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: admin
MYSQL_DATABASE: pokeroguedb
MYSQL_USER: pokerogue
MYSQL_PASSWORD: pokerogue
volumes:
- database:/var/lib/mysql
volumes:
database:
networks:
internal: