config.yaml 656 B

1234567891011121314151617181920212223242526272829
  1. api:
  2. url_prefix: /example/api
  3. port: 31000
  4. log_skip_paths:
  5. - /example/api/version
  6. infrastructure:
  7. database:
  8. operations:
  9. user_name: test
  10. password: "123456"
  11. address: localhost
  12. port: 30432
  13. database: test
  14. max_connections: 20
  15. max_idle_connections: 5
  16. # data_service:
  17. # token: "8qe+uPgpQ2JWxu3lSyOx5NjX+INp5WsnoD1ZWb7PBm4="
  18. # address: "localhost"
  19. # http_port: "10000"
  20. # grpc_port: "10001"
  21. # namespace: "baize"
  22. # data_source: "baize"
  23. # timeout_sec: 30
  24. cache:
  25. namespace: baize-demo
  26. redis:
  27. address: "localhost:30379"
  28. password: "mtyzxhc"
  29. db: 2