# Values formatted like "_env:ENV_VAR_NAME:default_value" can be overridden by the specified environment variable. # See https://github.com/yesodweb/yesod/wiki/Configuration#overriding-configuration-values-with-environment-variables # NB: If you need a numeric value (e.g. 123) to parse as a String, wrap it in single quotes (e.g. "_env:PGPASS:'123'") # See https://github.com/yesodweb/yesod/wiki/Configuration#parsing-numeric-values-as-strings static-dir: "_env:STATIC_DIR:static" host: "_env:HOST:*4" # any IPv4 host port: "_env:PORT:3000" ip-from-header: "_env:IP_FROM_HEADER:false" approot: "_env:APPROOT:http://localhost:3000" detailed-logging: "_env:DETAILED_LOGGING:false" should-log-all: "_env:LOG_ALL:false" minimum-log-level: "_env:LOGLEVEL:warn" auth-dummy-login: "_env:DUMMY_LOGIN:false" auth-pwfile: "_env:PWFILE:" allow-deprecated: "_env:ALLOW_DEPRECATED:false" # Optional values with the following production defaults. # In development, they default to true. # reload-templates: false # mutable-static: false # skip-combining: false database: user: "_env:PGUSER:uniworx" password: "_env:PGPASS:uniworx" host: "_env:PGHOST:127.0.0.1" port: "_env:PGPORT:5432" # See config/test-settings.yml for an override during tests database: "_env:PGDATABASE:uniworx" poolsize: "_env:PGPOOLSIZE:10" ldap: host: "_env:LDAPHOST:" tls: "_env:LDAPTLS:" port: "_env:LDAPPORT:389" user: "_env:LDAPUSER:" pass: "_env:LDAPPASS:" baseDN: "_env:LDAPBASE:" scope: "_env:LDAPSCOPE:WholeSubtree" timeout: "_env:LDAPTIMEOUT:5" user-defaults: favourites: 12 theme: Default date-time-format: "%a %d %b %Y %R" date-format: "%d.%m.%Y" time-format: "%R" download-files: false cryptoid-keyfile: "_env:CRYPTOID_KEYFILE:cryptoid_key.bf"