application-dev.yaml 450 B

1234567891011121314
  1. spring:
  2. # 与 ai-server 的 application-dev.yaml 保持同库同 Redis:
  3. # sa-token 的登录态与 gateway_* 配置表都在这里
  4. datasource:
  5. url: jdbc:postgresql://192.168.0.106:5432/zsjz-ai
  6. username: postgres
  7. password: postgres
  8. driver-class-name: org.postgresql.Driver
  9. data:
  10. redis:
  11. host: 192.168.0.106
  12. port: 6379
  13. # 后端未显式配置 database(默认 0);网关必须一致
  14. database: 0