feat: add control plane authentication baseline
This commit is contained in:
1 parent
a4c93ff1a7
commit
0d10e2d124
21 files changed
+1403
-18
No files matched your search
@@ -0,0 +1,11 @@
|
||||
NODE_ENV=development
|
||||
CONTROL_PLANE_HOST=127.0.0.1
|
||||
CONTROL_PLANE_PORT=8787
|
||||
CONTROL_PLANE_CORS_ORIGINS=http://localhost:5173
|
||||
DATABASE_URL=postgresql://moyi:replace-with-a-long-random-password@127.0.0.1:5434/moyi_control
|
||||
SESSION_TTL_HOURS=168
|
||||
AUTH_PASSWORD_PEPPER=replace-with-a-long-random-secret
|
||||
|
||||
ADMIN_ACCOUNT=admin@moyi.local
|
||||
ADMIN_PASSWORD=replace-with-a-strong-initial-password
|
||||
ADMIN_DISPLAY_NAME=平台管理员
|
||||
Reference in new issue
Block a user