36 lines
557 B
YAML
36 lines
557 B
YAML
dev-mode: true
|
|
|
|
web:
|
|
addr: :8000
|
|
shutdown-timeout: 10
|
|
token-secret: nzMC12IJBMiiV2AAktTFpZP4BbGAf09lFPV_sATKcwI
|
|
token-expiry-time: 24h
|
|
|
|
db:
|
|
# DB host
|
|
host: 127.0.0.1
|
|
# DB username
|
|
username: postgres
|
|
# DB password
|
|
password: example
|
|
# DB name
|
|
database: howmuch
|
|
|
|
max-open-conns: 100
|
|
max-idle-conns: 100
|
|
max-lifetime: 10s
|
|
|
|
cache:
|
|
host: 127.0.0.1:6379
|
|
password: ""
|
|
|
|
log:
|
|
level: debug
|
|
disalbe-caller: false
|
|
disable-stacktrace: false
|
|
# console or json
|
|
format: console
|
|
output-paths:
|
|
- stdout
|
|
- /tmp/howmuch.log
|