Files
lan-manager/deploy/lan-manager-debian12/lan-manager.env

32 lines
946 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.
# LAN Manager Environment Configuration
# 服务监听地址与端口
HOST=0.0.0.0
PORT=8080
# 数据目录与数据库路径(建议放在 /opt/lan-manager/data
DATA_DIR=/opt/lan-manager/data
DB_PATH=/opt/lan-manager/data/lan-manager.db
# 后台自动 Ping/SSH 同步间隔(秒)
PING_INTERVAL=60
SSH_TIMEOUT=10
# 管理员账号(首次登录后务必修改)
ADMIN_USER=admin
ADMIN_PASS=changeme
# Session 密钥(生产环境务必修改,越长越安全)
SESSION_SECRET=lan-manager-secret-change-in-production
# 日志保留天数0 表示永久保留)
LOG_RETENTION_DAYS=30
# 前端自动刷新间隔毫秒0 表示关闭)
UI_REFRESH_INTERVAL=10000
# 密码加密密钥(生产环境务必修改,任意长度字符串即可)
ENCRYPT_KEY=lan-manager-secret-change-in-production
# 可选:外部静态文件路径(默认使用嵌入的前端,无需修改)
# WEB_STATIC_PATH=/opt/lan-manager/static