Files
bedolaga-cabinet/.env.example
2026-01-15 20:41:17 +03:00

25 lines
765 B
Plaintext

# ===== BUILD-TIME VARIABLES =====
# These variables are baked into the frontend JavaScript at build time
# If you change them, you need to rebuild: docker compose up -d --build
# API URL - How the browser will access the backend
# Same server (with proxy): /api
# Remote server (direct): https://api.yourbot.com/cabinet
VITE_API_URL=/api
# Telegram bot username for Login Widget (without @)
VITE_TELEGRAM_BOT_USERNAME=your_bot_username
# ===== BRANDING (optional) =====
# App name displayed in header and browser tab
VITE_APP_NAME=VPN Cabinet
# Short logo text (1-2 characters, displayed in logo icon)
VITE_APP_LOGO=V
# ===== RUNTIME VARIABLES =====
# Port to expose the frontend on host machine
# Default: 3000 (http://localhost:3000)
CABINET_PORT=3000