Files
config-filebrowser/config.yaml
T
2026-05-03 18:51:00 +00:00

22 lines
648 B
YAML

server:
port: 80
database: "/home/filebrowser/data/database.db"
cacheDir: "/home/filebrowser/data/tmp"
sources:
- path: /srv
config:
defaultEnabled: true
auth:
methods:
oidc:
enabled: true
clientId: "95a150cf-e376-4a2a-aec8-5bce1b518cb5"
clientSecret: "CEKqBc8cT2bkH814rqbjJBJgtXbmiwCE"
issuerUrl: "https://sso.140103.xyz"
scopes: "email openid profile"
userIdentifier: preferred_username
disableVerifyTLS: false
createUser: true # 首次登录自动创建用户
password:
enabled: true # 建议保留,万一 OIDC 出问题还能登