2015-08-20 22:33:38 +02: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"
|
|
|
|
approot: "_env:APPROOT:http://localhost:3000"
|
|
|
|
ip-from-header: "_env:IP_FROM_HEADER:false"
|
2016-01-08 21:57:29 +01:00
|
|
|
var-dir: "_env:VAR_DIR:."
|
2017-01-28 11:22:56 +01:00
|
|
|
contact-email: "_env:CONTACT_EMAIL:filipg@amu.edu.pl"
|
2015-08-20 22:33:38 +02:00
|
|
|
|
|
|
|
# Optional values with the following production defaults.
|
|
|
|
# In development, they default to the inverse.
|
|
|
|
#
|
|
|
|
# development: false
|
|
|
|
# detailed-logging: false
|
|
|
|
# should-log-all: false
|
|
|
|
# reload-templates: false
|
|
|
|
# mutable-static: false
|
|
|
|
# skip-combining: false
|
|
|
|
|
|
|
|
database:
|
|
|
|
user: "_env:PGUSER:filipg"
|
|
|
|
password: "_env:PGPASS:gonito"
|
|
|
|
host: "_env:PGHOST:localhost"
|
|
|
|
port: "_env:PGPORT:5432"
|
|
|
|
database: "_env:PGDATABASE:gonito"
|
|
|
|
poolsize: "_env:PGPOOLSIZE:10"
|
|
|
|
|
2017-01-28 09:40:55 +01:00
|
|
|
copyright: © Filip Graliński
|
2015-08-20 22:33:38 +02:00
|
|
|
#analytics: UA-YOURCODE
|