From fb7c3026468d829e7b275e14d255ed3894f19530 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 12 May 2024 13:21:57 +0800 Subject: [PATCH] Create docker-compose.yml --- docker-compose.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..1f43906 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,27 @@ +services: + server: + image: ghcr.io/strayandropbear/rogueserver:master + 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: