-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sample.yaml
48 lines (39 loc) · 1.41 KB
/
config.sample.yaml
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
# ===== Database Settings =====
database:
# The database type. Only "sqlite3" is supported.
type: sqlite3
# The database URI.
# SQLite: A raw file path is supported, but `file:<path>?_txlock=immediate` is recommended.
# https://github.com/mattn/go-sqlite3#connection-string#
uri: mineshspc.db?_txlock=immediate
# Maximum number of connections. Mostly relevant for Postgres.
max_open_conns: 20
max_idle_conns: 2
# Maximum connection idle time and lifetime before they're closed. Disabled if null.
# Parsed with https://pkg.go.dev/time#ParseDuration
max_conn_idle_time: null
max_conn_lifetime: null
# This will disable sending emails, and instead print the value of the email to
# stdout.
dev_mode: false
sendgrid_api_key: SENDGRID_API_KEY
healthcheck_url: null
# This will be shown in the footer right after the link to the source code.
hosted_by_html: |
Hosting provided by YOUR COMPANY HERE.
# Use the following domain for email links.
domain: http://localhost:8090
# A file that contains the HMAC secret key for signing the JWT tokens.
jwt_secret_key_file: secret_key_file
# The actual text of the secret key.
jwt_secret_key: YOUR_VERY_SECURE_KEY
recaptcha:
site_key: RECAPTCHA_SITE_KEY
secret_key: RECAPTCHA_SECRET_KEY
# ===== Logger Settings =====
# See https://github.com/tulir/zeroconfig for details.
logging:
min_level: debug
writers:
- type: stdout
format: pretty-colored