add scripts to auto-install

This commit is contained in:
kilyabin
2025-11-18 03:57:22 +04:00
parent f7a8cc622f
commit b82d4e5085
12 changed files with 715 additions and 275 deletions

25
.env.production.example Normal file
View File

@@ -0,0 +1,25 @@
# Production environment variables for KSPGUTI Schedule
# 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