30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
# ========================================================
|
|
# GsDChat Environment Configuration
|
|
# ========================================================
|
|
|
|
# Host port mapping (for docker-compose.yml)
|
|
PORT=5000
|
|
|
|
# Server display metadata
|
|
SERVER_NAME=GsDChat Community Server
|
|
SERVER_MOTD=Welcome to GsDChat! Enjoy private and modular messaging.
|
|
|
|
# Optional server-wide password gate.
|
|
# If non-empty, every user must provide this password to register or connect.
|
|
# Leave blank to disable server password gating.
|
|
SERVER_PASSWORD=
|
|
|
|
# Registration Mode:
|
|
# "Open" - Any user can register an account.
|
|
# "InviteOnly" - Registration requires an invite token.
|
|
REGISTRATION_MODE=Open
|
|
|
|
# Maximum allowed file upload size in megabytes
|
|
MAX_FILE_SIZE_MB=50
|
|
|
|
# ========================================================
|
|
# Cloudflare Tunnel Configuration (for docker-compose.tunnel.yml)
|
|
# ========================================================
|
|
# Obtain your tunnel token from Cloudflare Zero Trust:
|
|
# Dashboard -> Networks -> Tunnels -> Create a Tunnel (cloudflared) -> Docker run command token
|
|
CLOUDFLARE_TUNNEL_TOKEN=
|