prod preparations

This commit is contained in:
2026-01-28 08:53:21 -05:00
parent 4850c16b87
commit b70d87c797
9 changed files with 1259 additions and 14 deletions

25
.env.example Normal file
View File

@@ -0,0 +1,25 @@
# Torn API Configuration
TORN_API_KEY=your_torn_api_key_here
FFSCOUTER_KEY=your_ffscouter_api_key_here
# Discord Bot Configuration
DISCORD_TOKEN=your_discord_bot_token_here
ALLOWED_CHANNEL_ID=your_discord_channel_id_here
# Authentication
# IMPORTANT: Generate a strong random password for production
AUTH_PASSWORD=your_strong_password_here
# IMPORTANT: Generate a strong random secret for JWT signing
JWT_SECRET=your_random_jwt_secret_here
# Timing Settings (in seconds)
POLL_INTERVAL=30
HIT_CHECK_INTERVAL=60
REASSIGN_DELAY=120
ASSIGNMENT_TIMEOUT=60
ASSIGNMENT_REMINDER=45
CHAIN_TIMER_THRESHOLD=5
# Server Configuration (optional)
# HOST=0.0.0.0
# PORT=8000