config.ex 630 B

123456789101112131415161718192021222324252627282930313233343536
  1. defmodule Config do
  2. def config do
  3. [webserver:
  4. [http_host: "localhost",
  5. http_port: 8080,
  6. acceptors: 100,
  7. ssl: false,
  8. cacertfile_path: "",
  9. certfile_path: "",
  10. keyfile_path: ""
  11. ],
  12. ws:
  13. [ws_port: 8080,
  14. ws_mod: :Handler
  15. ],
  16. use_internationalization: false,
  17. localization:
  18. [default_locale: :en_US,
  19. use_locales: [:en_US]
  20. ],
  21. use_sessions: false,
  22. session:
  23. [max_age: 1440
  24. ],
  25. db:
  26. [
  27. db_host: "",
  28. db_port: 5000,
  29. db_username: "",
  30. db_password: ""
  31. ],
  32. ]
  33. end
  34. end