From 9e20f3caa78e7333824ebb0c1b273e5b49d2a2d1 Mon Sep 17 00:00:00 2001
From: Katzteam <katzteam@tutanota.com>
Date: Sat, 28 Sep 2024 01:08:53 -0400
Subject: [PATCH] Update example docker compose file to use environment
 variables

---
 docker-compose.Example.yml | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/docker-compose.Example.yml b/docker-compose.Example.yml
index 3eee682..412a69d 100644
--- a/docker-compose.Example.yml
+++ b/docker-compose.Example.yml
@@ -1,8 +1,15 @@
 services:
-  server:
-    command: --debug --dbaddr db --dbuser pokerogue --dbpass pokerogue --dbname pokeroguedb --gameurl http://localhost:8000 --callbackurl http://localhost:8001 
+  server: 
     image: ghcr.io/pagefaultgames/rogueserver:master
     restart: unless-stopped
+    environment:
+      debug: true
+      dbaddr: db
+      dbuser: pokerogue
+      dbpass: pokerogue
+      dbname: pokeroguedb
+      gameurl: http://localhost:8000
+      callbackurl: http://localhost:8001
     depends_on:
       db:
         condition: service_healthy