Files
netrunner-backend/.env.example
T
2026-04-22 10:16:58 +07:00

20 lines
596 B
Bash

# === DATABASE & SECRETS ===
# Format: postgres://user:password@host:port/dbname
DATABASE_URL=postgres://netrunner_admin:PASSWORD@127.0.0.1:5432/netrunner
TELOXIDE_TOKEN=123456789:YOUR_BOT_TOKEN_HERE
JWT_SECRET=YOUR_RANDOM_SECRET_KEY
# === BACKEND SETTINGS ===
PORT=8080
FRONTEND_DIR=frontend/dist
# === TELEGRAM SETTINGS ===
BOT_USERNAME=ntrnr_vpn_bot
# Public URL for the Telegram Web App (must be HTTPS)
WEB_APP_BASE_URL=https://account.yourdomain.com
# === DEPLOYMENT SETTINGS (Used by Makefile) ===
VPS_USER=root
VPS_IP=0.0.0.0
DEPLOY_DIR=/root/backend
BINARY_NAME=netrunner-control-plane