2019-01-31 02:54:47 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
static-dir: "_env:STATIC_DIR:static"
|
|
|
|
host: "_env:HOST:*4" # any IPv4 host
|
|
|
|
port: "_env:PORT:3000" # NB: The port `yesod devel` uses is distinct from this value. Set the `yesod devel` port from the command line.
|
|
|
|
ip-from-header: "_env:IP_FROM_HEADER:false"
|
|
|
|
|
|
|
|
# Default behavior: determine the application root from the request headers.
|
|
|
|
# Uncomment to set an explicit approot
|
|
|
|
#approot: "_env:APPROOT:http://localhost:3000"
|
|
|
|
|
|
|
|
# By default, `yesod devel` runs in development, and built executables use
|
|
|
|
# production settings (see below). To override this, use the following:
|
|
|
|
#
|
|
|
|
# development: false
|
|
|
|
|
|
|
|
# Optional values with the following production defaults.
|
|
|
|
# In development, they default to the inverse.
|
|
|
|
#
|
2020-07-22 00:18:05 +00:00
|
|
|
detailed-logging: "_env:DETAILED_LOGGING" # false
|
|
|
|
should-log-all: "_env:SHOULD_LOG_ALL" # false
|
2019-01-31 02:54:47 +00:00
|
|
|
# reload-templates: false
|
|
|
|
# mutable-static: false
|
|
|
|
# skip-combining: false
|
|
|
|
# auth-dummy-login : false
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
database:
|
|
|
|
# See config/test-settings.yml for an override during tests
|
|
|
|
database: "_env:SQLITE_DATABASE:espial.sqlite3"
|
|
|
|
# database: ":memory:"
|
|
|
|
poolsize: "_env:SQLITE_POOLSIZE:10"
|
|
|
|
|
|
|
|
copyright: Insert copyright statement here
|
|
|
|
#analytics: UA-YOURCODE
|
|
|
|
|
2020-07-22 00:18:05 +00:00
|
|
|
archive-socks-proxy-host: "_env:ARCHIVE_SOCKS_PROXY_HOST"
|
|
|
|
archive-socks-proxy-port: "_env:ARCHIVE_SOCKS_PROXY_PORT"
|
2019-03-14 16:11:12 +00:00
|
|
|
|
2020-07-22 00:18:05 +00:00
|
|
|
source-code-uri: "_env:SOURCE_CODE_URI:https://github.com/jonschoning/espial"
|
2021-09-29 03:07:53 +00:00
|
|
|
|
|
|
|
ssl-only: "_env:SSL_ONLY" # false
|
2022-04-27 01:54:25 +00:00
|
|
|
|
|
|
|
allow-non-http-url-schemes: "_env:ALLOW_NON_HTTP_URL_SCHEMES:false"
|