mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-02 02:57:15 +08:00
Update example docker compose file to use environment variables
This commit is contained in:
parent
9f2a5c0d30
commit
9e20f3caa7
@ -1,8 +1,15 @@
|
|||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
command: --debug --dbaddr db --dbuser pokerogue --dbpass pokerogue --dbname pokeroguedb --gameurl http://localhost:8000 --callbackurl http://localhost:8001
|
|
||||||
image: ghcr.io/pagefaultgames/rogueserver:master
|
image: ghcr.io/pagefaultgames/rogueserver:master
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
debug: true
|
||||||
|
dbaddr: db
|
||||||
|
dbuser: pokerogue
|
||||||
|
dbpass: pokerogue
|
||||||
|
dbname: pokeroguedb
|
||||||
|
gameurl: http://localhost:8000
|
||||||
|
callbackurl: http://localhost:8001
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user