config.ini 527 B

12345678910111213141516171819202122232425262728293031
  1. [app]
  2. debug = false
  3. port = 9091
  4. admin_port = 9092
  5. url_prefix = http://localhost:9091/
  6. [captcha]
  7. store = memory
  8. # store = redis
  9. [redis]
  10. host = 127.0.0.1:56379
  11. database= 0
  12. username=
  13. password=
  14. pool_size = 50
  15. [redis-cluster]
  16. hosts = localhost:6371,localhost:6372,localhost:6373,localhost:6374,localhost:6375,localhost:6376
  17. username = default
  18. password = He110_
  19. pool_size = 50
  20. [postgres]
  21. host = localhost
  22. port = 55432
  23. user = postgres
  24. password = 0DePm!oG_12Cz^kd_m
  25. database = oh_url_shortener
  26. max_open_conn = 20
  27. max_idle_conn = 5