功能:优化账号分层与管理员初始化

This commit is contained in:
yml2213
2026-08-13 13:18:41 +08:00
parent ac44fda08b
commit 1f85add5e0
12 changed files with 270 additions and 25 deletions
+3
View File
@@ -6,6 +6,9 @@ FRONTEND_PORT=15173
# HTTPS_PORT=443
JWT_SECRET=your_very_secure_jwt_secret_here_change_me_in_production
DATA_ENCRYPTION_KEY=your_32_plus_char_data_encryption_key_change_me
# 仅用于空数据库的首次启动;已有管理员账号时不会被覆盖。
INITIAL_ADMIN_USERNAME=skin_nh_admin
INITIAL_ADMIN_PASSWORD=change_me_to_a_secure_password
POSTGRES_USER=affiliate
POSTGRES_PASSWORD=affiliate_dev_password
POSTGRES_DB=affiliate_dash