Files
ActionBlock/.env.example
T
2026-10-24 20:32:37 +02:00

21 lines
954 B
Bash
Executable File

# 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
# Chance (0..1) that each block of a new piece carries an item. Every block rolls on its
# own, so one piece can carry several items. 0 = no items, 1 = every block has one.
ITEM_SPAWN_CHANCE=0.1
# Other optional gameplay tuning, passed to the server as Game__<Setting> (see GameSettings.cs).
# Add these under the server's "environment:" in docker-compose.yml to use them.
# Game__CountdownSeconds=3