Files
2026-10-25 22:31:22 +01:00

18 lines
895 B
Bash

# Copy to .env (next to docker-compose.yml) and adjust. Docker Compose reads .env automatically.
# Full URL the browser uses to reach the game hub through the reverse proxy.
# Empty = "<website origin>/hub".
SERVER_URL=https://game.example.com/server/hub
# Prefix the game server should accept when the proxy forwards its sub-path without
# stripping it (e.g. /server). Leave empty if the proxy strips the prefix.
PATH_BASE=
# Comma separated origins allowed to connect to the hub. Empty = allow any origin.
ALLOWED_ORIGINS=https://game.example.com
# Gameplay tuning (item chance, how items split it up, item durations, other rules) lives in
# config/game.json, which the server container mounts. Edits apply from the next match on.
# Single values can still be overridden as Game__<Setting> env vars under the server's
# "environment:" in docker-compose.yml, e.g. Game__CountdownSeconds=3.