| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # 开发环境配置
- # JWT 配置
- jwt:
- secret_key: "dev-secret-key-for-local-development"
- algorithm: "HS256"
- access_token_expire_minutes: 60
- refresh_token_expire_days: 7
- # OAuth 2.0 单点登录配置
- oauth:
- enabled: true
- base_url: "http://192.168.92.61:8000"
- client_id: "nlKLQJdJK3f5ub7UDfQ_E71z2Lo3YSQx"
- client_secret: "wh0HU_9T83rYMjfLFToNxFOKcrk_8H7Ba_27nNGlPqtTf9ROCytsOgp2ue0ol5mm"
- redirect_uri: "http://localhost:4200/auth/callback"
- scope: "profile email"
-
- # OAuth 端点
- authorize_endpoint: "/oauth/login"
- token_endpoint: "/oauth/token"
- userinfo_endpoint: "/oauth/userinfo"
- revoke_endpoint: "/oauth/revoke"
- # 数据库配置
- database:
- type: "mysql"
- path: "annotation_platform.db"
-
- mysql:
- host: "192.168.92.61"
- port: 13306
- user: "root"
- password: "Lq123456!"
- database: "lq_label_dev"
- # 服务器配置
- server:
- host: "0.0.0.0"
- port: 8003
- reload: true
|