Files
jiedian/.env.example
T
dekun ccf7e2a4c7 feat: show node connection status and traffic stats in admin panel
Enable sing-box Clash/V2Ray APIs for per-user metrics, persist cumulative
traffic in SQLite, and refresh the dashboard every five seconds.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 09:57:16 +08:00

34 lines
996 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 复制为 .env 后填写,部署脚本会读取这些变量
# cp .env.example .env
# VPS 公网 IP
VPS_IP=47.76.87.111
# 域名(Hysteria2 证书 + 管理面板)
DOMAIN=66.hyf2.cc
# Let's Encrypt 申请证书邮箱
ACME_EMAIL=932465777@qq.com
# Reality 伪装目标(真实大站,不要用你自己的域名)
REALITY_SERVER_NAME=www.microsoft.com
# 管理面板登录(安装完成后访问 http://域名/PANEL_PATH/
PANEL_USERNAME=dekun
PANEL_PASSWORD=Woaini521@
# 面板访问路径(留空则安装时自动生成随机路径,如 jiedian-a1b2c3d4
# 访问示例:http://66.hyf2.cc/jiedian-a1b2c3d4/
# PANEL_PATH=jiedian-a1b2c3d4
# 可选:仅允许指定 IP 访问面板(留空则不限制)
# PANEL_ALLOW_IP=1.2.3.4
# sing-box Clash API 密钥(安装时自动生成,供面板读取连接状态)
# CLASH_API_SECRET=
# 以下由 scripts/generate-keys.sh 自动生成,也可手动填写
# REALITY_PRIVATE_KEY=
# REALITY_PUBLIC_KEY=
# REALITY_SHORT_ID=