-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
19 lines (16 loc) · 761 Bytes
/
.env.example
File metadata and controls
19 lines (16 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Environment variables for docker-compose
# Copy this file to .env and fill in your values
SESSION_SECRET=your-secret-key-here
DISCORD_CLIENT_ID=your-discord-client-id
DISCORD_CLIENT_SECRET=your-discord-client-secret
DISCORD_REDIRECT_URL=http://localhost:5000/auth/login/callback
ADMIN_USERNAME=admin
ADMIN_PASSWORD=your-secure-password
# Memory optimization settings (optional)
# GOGC controls garbage collection frequency (default: 100, lower = more frequent GC, less memory)
# For systems with limited RAM, set to 50-75 for aggressive GC
# GOGC=50
# GOMEMLIMIT sets a soft memory limit for the Go runtime (e.g., "512MiB", "1GiB", "2GiB")
# Go 1.19+ will try to keep memory usage below this limit
# Supported units: KiB, MiB, GiB, TiB
# GOMEMLIMIT=512MiB