mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
Create .env.example
This commit is contained in:
37
.env.example
Normal file
37
.env.example
Normal file
@@ -0,0 +1,37 @@
|
||||
# ===== BUILD-TIME VARIABLES =====
|
||||
# These are baked into the frontend at build time
|
||||
|
||||
# API URL (relative path for same-origin, or full URL for external)
|
||||
# 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 =====
|
||||
# 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 =====
|
||||
# These are used by Caddy at runtime
|
||||
|
||||
# Backend URL for reverse proxy (only if using proxy mode with VITE_API_URL=/api)
|
||||
# Development: http://host.docker.internal:8080
|
||||
# Production (same network): http://remnawave_bot:8080
|
||||
# Remote server: https://api.yourbot.com
|
||||
BACKEND_URL=https://api.yourbot.com
|
||||
|
||||
# Port to expose the frontend
|
||||
CABINET_PORT=3000
|
||||
|
||||
# ===== PRODUCTION ONLY =====
|
||||
|
||||
# Domain for HTTPS (Caddy will auto-obtain certificates)
|
||||
DOMAIN=cabinet.yourdomain.com
|
||||
|
||||
# HTTPS port (usually 443)
|
||||
CABINET_HTTPS_PORT=443
|
||||
Reference in New Issue
Block a user