Add .gitignore and remove bin, obj, and mod build artifacts

This commit is contained in:
tyuXX 2026-10-10 18:00:52 +00:00
parent c316ef0092
commit 7495e34ade
3 changed files with 104 additions and 0 deletions

30
.env.example Normal file
View file

@ -0,0 +1,30 @@
# ========================================================
# 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=