mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-29 18:13:47 +00:00
Update .env.example
This commit is contained in:
25
.env.example
25
.env.example
@@ -1,7 +1,8 @@
|
|||||||
# ===== BUILD-TIME VARIABLES =====
|
# ===== BUILD-TIME VARIABLES =====
|
||||||
# These are baked into the frontend at build time
|
# 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 (relative path for same-origin, or full URL for external)
|
# API URL - How the browser will access the backend
|
||||||
# Same server (with proxy): /api
|
# Same server (with proxy): /api
|
||||||
# Remote server (direct): https://api.yourbot.com/cabinet
|
# Remote server (direct): https://api.yourbot.com/cabinet
|
||||||
VITE_API_URL=/api
|
VITE_API_URL=/api
|
||||||
@@ -9,7 +10,7 @@ VITE_API_URL=/api
|
|||||||
# Telegram bot username for Login Widget (without @)
|
# Telegram bot username for Login Widget (without @)
|
||||||
VITE_TELEGRAM_BOT_USERNAME=your_bot_username
|
VITE_TELEGRAM_BOT_USERNAME=your_bot_username
|
||||||
|
|
||||||
# ===== BRANDING =====
|
# ===== BRANDING (optional) =====
|
||||||
# App name displayed in header and browser tab
|
# App name displayed in header and browser tab
|
||||||
VITE_APP_NAME=VPN Cabinet
|
VITE_APP_NAME=VPN Cabinet
|
||||||
|
|
||||||
@@ -17,21 +18,7 @@ VITE_APP_NAME=VPN Cabinet
|
|||||||
VITE_APP_LOGO=V
|
VITE_APP_LOGO=V
|
||||||
|
|
||||||
# ===== RUNTIME VARIABLES =====
|
# ===== RUNTIME VARIABLES =====
|
||||||
# These are used by Caddy at runtime
|
|
||||||
|
|
||||||
# Backend URL for reverse proxy (only if using proxy mode with VITE_API_URL=/api)
|
# Port to expose the frontend on host machine
|
||||||
# Development: http://host.docker.internal:8080
|
# Default: 3000 (http://localhost:3000)
|
||||||
# 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
|
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