forked from naruto-unison/naruto-unison
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.yml
58 lines (48 loc) · 2.09 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Values formatted like "_env:YESOD_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:YESOD_STATIC_DIR:static"
host: "_env:YESOD_HOST:*4" # any IPv4 host
port: "_env:PORT:80" # NB: The port `yesod devel` uses is distinct from this value. Set the `yesod devel` port from the command line.
ip-from-header: "_env:YESOD_IP_FROM_HEADER:false"
# Default behavior: determine the application root from the request headers.
# Uncomment to set an explicit approot
#approot: "_env:YESOD_APPROOT:http://localhost:3000"
# By default, `yesod devel` runs in development, and built executables use
# production settings (see below). To override this, use the following:
#
# development: false
# Optional values with the following production defaults.
# In development, they default to the inverse.
#
#allow-vs-self: false
#unlock-all: 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:YESOD_PGPASS:'123'")
# See https://github.com/yesodweb/yesod/wiki/Configuration#parsing-numeric-values-as-strings
database:
user: "_env:YESOD_PGUSER:naruto-unison"
password: "_env:YESOD_PGPASS:naruto-unison"
host: "_env:YESOD_PGHOST:localhost"
port: "_env:YESOD_PGPORT:5432"
# See config/test-settings.yml for an override during tests
database: "_env:YESOD_PGDATABASE:naruto-unison"
poolsize: "_env:YESOD_PGPOOLSIZE:10"
copyright: BSD-3
#analytics: UA-YOURCODE
queue-table-size-hint: "_env:NU_QUEUE_MAP_SIZE:10"
turn-length: "_env:NU_TURN_LENGTH:60" # seconds
practice-cache-expiry: "_env:NU_EXPIRY:3600" # seconds
forfeit-after-skips: "_env:NU_FORFEIT_AFTER:3"
dna:
daily-game: 3
daily-win: 3
quick-win: 5
quick-lose: 1
quick-tie: 2
war-win: 2
use-streak: true