settings.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Values formatted like "_env:YESOD_ENV_VAR_NAME:default_value" can be overridden by the specified environment variable.
  2. # See https://github.com/yesodweb/yesod/wiki/Configuration#overriding-configuration-values-with-environment-variables
  3. static-dir: "_env:YESOD_STATIC_DIR:static"
  4. host: "_env:YESOD_HOST:*4" # any IPv4 host
  5. port: "_env:YESOD_PORT:3000" # NB: The port `yesod devel` uses is distinct from this value. Set the `yesod devel` port from the command line.
  6. ip-from-header: "_env:YESOD_IP_FROM_HEADER:false"
  7. # Default behavior: determine the application root from the request headers.
  8. # Uncomment to set an explicit approot
  9. #approot: "_env:YESOD_APPROOT:http://localhost:3000"
  10. # By default, `yesod devel` runs in development, and built executables use
  11. # production settings (see below). To override this, use the following:
  12. #
  13. # development: false
  14. # Optional values with the following production defaults.
  15. # In development, they default to the inverse.
  16. #
  17. # detailed-logging: false
  18. # should-log-all: false
  19. # reload-templates: false
  20. # mutable-static: false
  21. # skip-combining: false
  22. # auth-dummy-login : false
  23. # NB: If you need a numeric value (e.g. 123) to parse as a String, wrap it in single quotes (e.g. "_env:YESOD_PGPASS:'123'")
  24. # See https://github.com/yesodweb/yesod/wiki/Configuration#parsing-numeric-values-as-strings
  25. database:
  26. user: "_env:YESOD_PGUSER:myblog"
  27. password: "_env:YESOD_PGPASS:myblog"
  28. host: "_env:YESOD_PGHOST:localhost"
  29. port: "_env:YESOD_PGPORT:5432"
  30. # See config/test-settings.yml for an override during tests
  31. database: "_env:YESOD_PGDATABASE:myblog"
  32. poolsize: "_env:YESOD_PGPOOLSIZE:10"
  33. copyright: Insert copyright statement here
  34. #analytics: UA-YOURCODE