Files
SkrzynkaImpostora/bot/.env.example
2025-07-21 00:45:28 +02:00

38 lines
909 B
Plaintext

# Discord Bot Configuration
DISCORD_TOKEN=your_discord_bot_token_here
DISCORD_CLIENT_ID=your_discord_client_id_here
DISCORD_CLIENT_SECRET=your_discord_client_secret_here
# Database Configuration
DATABASE_URL=postgresql://username:password@localhost:5432/skrzynka_impostora
DB_HOST=localhost
DB_PORT=5432
DB_NAME=skrzynka_impostora
DB_USER=username
DB_PASSWORD=password
# Web Panel Configuration
JWT_SECRET=your_jwt_secret_here
SESSION_SECRET=your_session_secret_here
WEB_PORT=3001
API_PORT=3000
# OAuth2 Configuration
OAUTH2_REDIRECT_URI=http://localhost:3001/auth/discord/callback
# Environment
NODE_ENV=development
# Logging
LOG_LEVEL=info
# Redis Configuration (optional)
REDIS_URL=redis://localhost:6379
# Docker specific overrides (uncomment for Docker usage)
# DB_HOST=postgres
# REDIS_URL=redis://redis:6379
# Production domain (for OAuth2 and CORS)
# PRODUCTION_DOMAIN=https://your-domain.com