lebd/config/settings.yml

39 lines
1.5 KiB
YAML

# 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:127.0.0.1"
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:true"
approot: "_env:APPROOT:https://00dani.dev"
static-root: "_env:STATIC_ROOT:https://static.00dani.dev"
# Optional values with the following production defaults.
# In development, they default to the inverse.
#
# detailed-logging: false
# should-log-all: false
# 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:
user: "_env:MYSQL_USER:lebd"
password: "_env:MYSQL_PASSWORD:lebd"
host: "_env:MYSQL_HOST:localhost"
port: "_env:MYSQL_PORT:5432"
# See config/test-settings.yml for an override during tests
database: "_env:MYSQL_DATABASE:lebd"
poolsize: "_env:MYSQL_POOLSIZE:10"
title: 00dani.me
app-name: lebd
username: dani
repository: https://gitlab.com/00dani/lebd
#analytics: UA-YOURCODE
fb-app-id: "_env:FB_APP_ID:142105433189339"