From ccf5e6e832dbad0b2c0b17804d07561245bfac2f Mon Sep 17 00:00:00 2001 From: Up Date: Thu, 9 May 2024 11:41:28 +0200 Subject: [PATCH] add example compose file --- docker-compose.Example.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docker-compose.Example.yml diff --git a/docker-compose.Example.yml b/docker-compose.Example.yml new file mode 100644 index 0000000..b377d71 --- /dev/null +++ b/docker-compose.Example.yml @@ -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: