2014-12-23 04:01:53 +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
|
2014-08-09 18:33:22 +00:00
|
|
|
|
2014-12-23 04:01:53 +00:00
|
|
|
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"
|
2014-08-09 18:33:22 +00:00
|
|
|
|
2014-12-23 04:01:53 +00: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
|
2014-08-09 18:33:22 +00:00
|
|
|
|
2014-12-23 04:01:53 +00:00
|
|
|
database:
|
|
|
|
database: "_env:SQLITE_DATABASE:eidolon.sqlite3"
|
|
|
|
poolsize: "_env:SQLITE_POOLSIZE:10"
|
2014-08-09 18:33:22 +00:00
|
|
|
|
2014-12-23 04:01:53 +00:00
|
|
|
copyright: Insert copyright statement here
|
|
|
|
#analytics: UA-YOURCODE
|
|
|
|
|
|
|
|
# block signup process
|
|
|
|
signupBlocked: "_env:SIGNUP_BLOCK:false"
|