Files
kspguti-schedule/.env.production.example
2026-03-05 15:52:00 +04:00

39 lines
1.2 KiB
Plaintext

# Production environment variables for KSPGUTI Schedule
# Database directory (where schedule-app.db will be stored)
DATABASE_DIR=/opt/kspguti-schedule
# Site URL - used for canonical links and sitemap (optional, defaults to https://schedule.itlxrd.space)
NEXT_PUBLIC_SITE_URL=https://schedule.itlxrd.space
# Proxy URL for schedule parsing (optional, defaults to https://lk.ks.psuti.ru)
PROXY_URL=https://lk.ks.psuti.ru
# Telegram Bot API token for parsing failure notifications (optional)
# Get token from @BotFather on Telegram
PARSING_FAILURE_NOTIFICATIONS_TELEGRAM_BOTAPI_TOKEN=
# Telegram Chat ID for receiving notifications (optional)
# You can get your chat ID by messaging @userinfobot on Telegram
PARSING_FAILURE_NOTIFICATIONS_TELEGRAM_CHAT_ID=
# Node.js environment
NODE_ENV=production
# Disable Next.js telemetry
NEXT_TELEMETRY_DISABLED=1
# Server port (default: 3000)
PORT=3000
# Server hostname (default: 0.0.0.0)
HOSTNAME=0.0.0.0
# Admin panel password (required for /admin access)
ADMIN_PASSWORD=your-secure-password-here
# Admin session secret (optional, auto-generated if not set)
# Used for signing session cookies
ADMIN_SESSION_SECRET=your-session-secret-here