config.dev.yaml 926 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # 开发环境配置
  2. # JWT 配置
  3. jwt:
  4. secret_key: "dev-secret-key-for-local-development"
  5. algorithm: "HS256"
  6. access_token_expire_minutes: 60
  7. refresh_token_expire_days: 7
  8. # OAuth 2.0 单点登录配置
  9. oauth:
  10. enabled: true
  11. base_url: "http://192.168.92.61:8000"
  12. client_id: "nlKLQJdJK3f5ub7UDfQ_E71z2Lo3YSQx"
  13. client_secret: "wh0HU_9T83rYMjfLFToNxFOKcrk_8H7Ba_27nNGlPqtTf9ROCytsOgp2ue0ol5mm"
  14. redirect_uri: "http://localhost:4200/auth/callback"
  15. scope: "profile email"
  16. # OAuth 端点
  17. authorize_endpoint: "/oauth/login"
  18. token_endpoint: "/oauth/token"
  19. userinfo_endpoint: "/oauth/userinfo"
  20. revoke_endpoint: "/oauth/revoke"
  21. # 数据库配置
  22. database:
  23. type: "mysql"
  24. path: "annotation_platform.db"
  25. mysql:
  26. host: "192.168.92.61"
  27. port: 13306
  28. user: "root"
  29. password: "Lq123456!"
  30. database: "lq_label_dev"
  31. # 服务器配置
  32. server:
  33. host: "0.0.0.0"
  34. port: 8003
  35. reload: true