diff options
Diffstat (limited to 'config/settings.yml')
-rw-r--r-- | config/settings.yml | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/config/settings.yml b/config/settings.yml index fcae60c..83d3bfc 100644 --- a/config/settings.yml +++ b/config/settings.yml | |||
@@ -1,15 +1,8 @@ | |||
1 | # Values formatted like "_env: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 | |||
4 | static-dir: "_env:STATIC_DIR:static" | 1 | static-dir: "_env:STATIC_DIR:static" |
5 | host: "_env:HOST:*4" # any IPv4 host | 2 | host: "_env:HOST:*4" # any IPv4 host |
6 | port: "_env:PORT:3000" # NB: The port `yesod devel` uses is distinct from this value. Set the `yesod devel` port from the command line. | 3 | port: "_env:PORT:3000" |
7 | ip-from-header: "_env:IP_FROM_HEADER:false" | 4 | ip-from-header: "_env:IP_FROM_HEADER:false" |
8 | 5 | ||
9 | # Default behavior: determine the application root from the request headers. | ||
10 | # Uncomment to set an explicit approot | ||
11 | approot: "_env:APPROOT:" | ||
12 | |||
13 | # Optional values with the following production defaults. | 6 | # Optional values with the following production defaults. |
14 | # In development, they default to the inverse. | 7 | # In development, they default to the inverse. |
15 | # | 8 | # |
@@ -21,6 +14,6 @@ database: | |||
21 | user: "_env:PGUSER:bar" | 14 | user: "_env:PGUSER:bar" |
22 | password: "_env:PGPASS:" | 15 | password: "_env:PGPASS:" |
23 | host: "_env:PGHOST:" | 16 | host: "_env:PGHOST:" |
24 | port: "_env:PGPORT:" | 17 | port: "_env:PGPORT:5432" |
25 | database: "_env:PGDATABASE:bar" | 18 | database: "_env:PGDATABASE:bar" |
26 | poolsize: "_env:PGPOOLSIZE:10" | 19 | poolsize: "_env:PGPOOLSIZE:10" |