支持固定登录启动模式
This commit is contained in:
@@ -3,6 +3,12 @@ PORT=3001
|
||||
JWT_SECRET=change-me
|
||||
DB_PATH=
|
||||
|
||||
# login: show login page
|
||||
# fixed: auto login with FIXED_LOGIN_USERNAME and open model library directly
|
||||
APP_AUTH_MODE=login
|
||||
FIXED_LOGIN_USERNAME=viewer
|
||||
FIXED_LOGIN_ROLE=user
|
||||
|
||||
# local: write to server/storage and serve via /storage
|
||||
# cos: upload models to Tencent Cloud COS and read through CDN_BASE_URL
|
||||
STORAGE_DRIVER=local
|
||||
|
||||
Reference in New Issue
Block a user