config.example.yaml 657 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Server configuration
  2. server:
  3. port: 8080
  4. host: "0.0.0.0"
  5. read_timeout: 30s
  6. write_timeout: 120s
  7. shutdown_timeout: 30s
  8. # Database configuration
  9. database:
  10. host: localhost
  11. port: 5432
  12. user: postgres
  13. password: ""
  14. dbname: claude_code_hub
  15. sslmode: disable
  16. max_open_conns: 20
  17. max_idle_conns: 5
  18. conn_lifetime: 30m
  19. # Redis configuration
  20. redis:
  21. host: localhost
  22. port: 6379
  23. password: ""
  24. db: 0
  25. pool_size: 10
  26. min_idle_conns: 2
  27. dial_timeout: 5s
  28. read_timeout: 3s
  29. write_timeout: 3s
  30. # Log configuration
  31. log:
  32. level: info # debug, info, warn, error
  33. format: json # json, text
  34. # Auth configuration
  35. auth:
  36. admin_api_key: ""