2016-02-14 18:10:21 +09:00
|
|
|
# Values formatted like "_env:ENV_VAR_NAME:default_value" can be overridden by
|
|
|
|
# the specified environment variable. See the Yesod wiki, Configuration page.
|
2016-02-13 12:35:30 +09:00
|
|
|
|
|
|
|
static-dir: "_env:STATIC_DIR:static"
|
2016-02-14 18:10:21 +09:00
|
|
|
|
|
|
|
# any IPv4 host
|
|
|
|
host: "_env:HOST:*4"
|
|
|
|
|
|
|
|
# The port `yesod devel` uses is distinct from this value. Set the
|
|
|
|
# `yesod devel` port from the command line.
|
2016-03-05 12:56:25 +09:00
|
|
|
http-port: "_env:PORT:3000"
|
2016-02-14 18:10:21 +09:00
|
|
|
|
2016-02-13 12:35:30 +09:00
|
|
|
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"
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2016-02-14 18:10:21 +09:00
|
|
|
# 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 the Yesod wiki, Configuration
|
|
|
|
# page.
|
2016-02-13 12:35:30 +09:00
|
|
|
|
|
|
|
database:
|
2016-02-16 20:41:13 +09:00
|
|
|
user: "_env:PGUSER:vervis_dev"
|
|
|
|
password: "_env:PGPASS:vervis_dev_password"
|
2016-02-13 12:35:30 +09:00
|
|
|
host: "_env:PGHOST:localhost"
|
|
|
|
port: "_env:PGPORT:5432"
|
2016-02-16 20:41:13 +09:00
|
|
|
database: "_env:PGDATABASE:vervis_dev"
|
2016-02-13 12:35:30 +09:00
|
|
|
poolsize: "_env:PGPOOLSIZE:10"
|
|
|
|
|
2016-03-05 12:56:25 +09:00
|
|
|
repo-dir: repos
|
|
|
|
ssh-port: 5022
|
2016-03-07 09:37:07 +09:00
|
|
|
ssh-key-file: config/ssh-host-key
|
2016-04-20 01:03:27 +09:00
|
|
|
registration: false
|