gonito/config/settings.yml

44 lines
1.5 KiB
YAML
Raw Normal View History

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
2018-06-27 13:32:45 +02: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"
var-dir: "_env:VAR_DIR:."
contact-email: "_env:CONTACT_EMAIL:filipg@amu.edu.pl"
repo-host: "_env:REPO_HOST:ssh://gitolite@gonito.net/"
repo-scheme: "_env:REPO_SCHEME:selfhosted"
tag-permissions: "_env:TAG_PERMISSIONS:only-admin-can-add-new-tags"
2018-07-24 15:33:35 +02:00
auto-opening: "_env:AUTO_OPENING:false"
2018-09-08 21:21:21 +02:00
leaderboard-style: "_env:LEADERBOARD_STYLE:by-submitter"
2018-11-14 17:41:01 +01:00
new-best-result-slack-hook: "_env:NEW_BEST_RESULT_SLACK_HOOK:"
2019-11-25 23:09:09 +01:00
server-ssh-public-key: "_env:SERVER_SSH_PUBLIC_KEY:"
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
2018-06-01 16:30:35 +02:00
admin-user: "_env:ADMINUSER:"
admin-password: "_env:ADMINPASS:"
location: "_env:LOCATION:"
2015-08-20 22:33:38 +02:00
#analytics: UA-YOURCODE