settings.yml 1.64 KB
Newer Older
1
2
3
4
---
# 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
5

6
static-dir: "_env:STATIC_DIR:static"
7
host: "_env:HOST:*4"
8
9
10
port: "_env:PORT:3000"
# NB: The port `yesod devel` uses is distinct from this value. Set the
# `yesod devel` port from the command line.
11
12
13
14
ip-from-header: "_env:IP_FROM_HEADER:false"

# Default behavior: determine the application root from the request headers.
# Uncomment to set an explicit approot
15
# approot:        "_env:APPROOT:http://localhost:3000"
16

17
18
provider-name: "_env:BOOKME_PROVIDER_NAME"
provider-avatar: "_env:BOOKME_PROVIDER_AVATAR"
19
time-zone: _env:BOOKME_TIME_ZONE:America/New_York
20
appointment-lengths-minutes: [10, 15, 20, 25]
21
locations:
22
  - - "#hours"
Christopher League's avatar
Christopher League committed
23
    - Online video conference or phone
Christopher League's avatar
Christopher League committed
24
25
# - - "#office"
#   - At LIU Brooklyn (usually S101 – inside School of Business)
26

27
28
29
30
calendar-credentials:
  client_id: "_env:BOOKME_GOOGLE_ID:mock"
  client_secret: "_env:BOOKME_GOOGLE_SECRET:"
  refresh_token: "_env:BOOKME_GOOGLE_REFRESH:"
Christopher League's avatar
Christopher League committed
31
recaptcha: "_env:BOOKME_RECAPTCHA"
Christopher League's avatar
Christopher League committed
32
33
free-calendar: _env:BOOKME_FREE_CAL:mock-free
busy-calendar: _env:BOOKME_BUSY_CAL:mock-busy
34
look-ahead-weeks: 5
35
lead-time-minutes: 120
36

37
development: "_env:BOOKME_DEVEL:false"
38
39
40
41
42
43
44
45
46
47
48
49

# 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

copyright: Insert copyright statement here
50
# analytics: UA-YOURCODE