fix: run init_db with panel venv python

Use venv interpreter so werkzeug is available; sync admin user from .env on init.
Set default panel username to dekun.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-16 09:14:12 +08:00
parent bccf6cfdce
commit 042ae5a422
4 changed files with 10 additions and 10 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ DOMAIN=66.hyf2.cc
ACME_EMAIL=admin@hyf2.cc
REALITY_SERVER_NAME=www.microsoft.com
PANEL_USERNAME=admin
PANEL_USERNAME=dekun
PANEL_PASSWORD=Woaini521@
REALITY_PRIVATE_KEY=IPKtaw1aVb4fS0TPcimu8zwaVGml-JJ5H1rj-_TFQHM
REALITY_PUBLIC_KEY=51H_ikqYdDRgCpjq3pvMYNbqrX8S3zuow1UEjqTN-nI