config.yml 例子
listen: 0.0.0.0:8876
oidc:
- provider: google
issuer: https://accounts.google.com
clientID: ${OIDC_GOOGLE_CLIENT_ID}
clientSecret: ${OIDC_GOOGLE_CLIENT_SECRET}
redirect: ${OIDC_GOOGLE_REDIRECT}
scopes:
- profile
- email
- provider: github
authURL: https://github.com/login/oauth/authorize
tokenURL: https://github.com/login/oauth/access_token
userInfoURL: https://api.github.com/user
clientID: ${OIDC_GITHUB_CLIENT_ID}
clientSecret: ${OIDC_GITHUB_CLIENT_SECRET}
redirect: ${OIDC_GITHUB_REDIRECT}
trustEmail: true
userMeta:
picture: avatar_url
scopes:
- read:user
- user:email
s3:
endpoint: cos.ap-nanjing.myqcloud.com
region: ap-nanjing
bucket: test-1251115267
accessKeyID: ${S3_ACCESS_KEY_ID}
secretAccessKey: ${S3_SECRET_ACCESS_KEY}
state:
etcd:
endpoints:
- http://etcd:2379
certFile:
keyFile:
trustedCAFile:
model:
status:
contentListLimit: 32
contentLimit: 9012
overviewLimit: 4096
admins:
- 2uA9aRT35YABBrAuP