mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-06-20 16:42:48 +02:00
* add default values for CLI args * add development docker compose file * prevent crash if userdata dir does not exist * accounts, acccountStats * account stats and create db indices * compensations and daily runs * ensure uniqueness of daily seed * start on port 8001 by default for client parity * add GitHub actions scripts and dockerfile * add os architecture * only build docker image on main repo * add example compose file
28 lines
575 B
YAML
28 lines
575 B
YAML
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:
|