-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.yml
44 lines (34 loc) · 1.86 KB
/
settings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# These are COMPILE-TIME defaults. File in this format can be also passed to rememberportal binary to override options at runtime.
# Values formatted like "_env:RMP_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:RMP_STATIC_DIR:static"
host: "_env:RMP_HOST:*4" # any IPv4 host
port: "_env:RMP_PORT:3000"
ip-from-header: "_env:RMP_IP_FROM_HEADER:false"
org-name: "_env:RMP_ORG_NAME:memberportal"
currency: "_env:RMP_CURRENCY:BTC"
fee-account: "_env:RMP_FEE_ACCOUNT:"
mail-sendmail-bin: "_env:RMP_SENDMAIL_BIN:/sbin/sendmail"
mail-from: "_env:RMP_MAIL_FROM:noreply"
mail-reply-to: "_env:RMP_MAIL_REPLY_TO:"
# Base for all generated URLs.
# Default behavior: determine the application root from the request headers.
approot: "_env:RMP_APPROOT:"
database:
# See config/test-settings.yml for an override during tests
database: "_env:RMP_SQLITE_DATABASE:rememberportal.sqlite3"
poolsize: "_env:RMP_SQLITE_POOLSIZE:10"
# Path fo file with token to FIO bank API. Empty means FIO sync is disabled.
fio-token-path: "_env:RMP_FIO_TOKEN_PATH:"
# When true, member can choose amount that they'll be charged each month (provided that the amount is higher than indicated by membership level).
flexible-fees: "_env:RMP_FLEXIBLE_FEES:false"
# You can ignore these, `yesod devel` sets them automatically.
# development: false
# 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:RMP_PGPASS:'123'")
# See https://github.com/yesodweb/yesod/wiki/Configuration#parsing-numeric-values-as-strings