scense/.env

22 lines
598 B
Bash
Raw Permalink 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.

# scense 应用运行环境(元景项目-初始迭代)
# 数据库连接config.json databases 用 ${MYSQL_*} 占位,启动时由本文件注入)
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_USER=scense
MYSQL_PASSWORD=Scense@2026
MYSQL_DATABASE=scense
# Redis 会话
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
# 服务端口(唯一入口端口 9380
SERVER_PORT=9380
# 系统加密 key与 config.json password_key 对应)
PASSWORD_KEY=scense-password-key-2026
# 初始管理员凭证init_admin_user.py 幂等创建/更新)
SCENSE_ADMIN_USER=admin
SCENSE_ADMIN_PASSWORD=admin123