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

10
.dockerignore Normal file
View file

@ -0,0 +1,10 @@
**/.git
**/.github
**/.vs
**/.vscode
**/bin
**/obj
data/
downloads/
*.user
*.suo

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=

64
.gitignore vendored Normal file
View file

@ -0,0 +1,64 @@
# ========================================================
# .NET Build & Compilation Outputs
# ========================================================
[Bb]in/
[Oo]bj/
[Oo]ut/
[Ll]og/
[Ll]ogs/
**/mods/*.dll
mods/*.dll
# MSBuild / Visual Studio
.vs/
*.user
*.userosscache
*.suo
*.userprefs
*.sln.docstates
# JetBrains Rider / ReSharper
.idea/
*.sln.iml
_ReSharper*/
# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
# ========================================================
# Application Runtime & Local Data
# ========================================================
# SQLite Database & Storage
data/
*.db
*.db-shm
*.db-wal
*.sqlite
*.sqlite3
# Local File Downloads
downloads/
# Local Client Server History
servers.json
.gsdchat/
# Local Environment Variables & Secrets
.env
!.env.example
# Temporary / Scratch files
*.tmp
*.temp
*~
*.swp
# ========================================================
# OS Generated Files
# ========================================================
.DS_Store
Thumbs.db
desktop.ini