task_tracker/config.yml
2020-01-03 16:37:51 -05:00

29 lines
632 B
YAML

server:
address: "0.0.0.0:3010"
database:
conn_str: "postgres://task_tracker:task_tracker@tt_db/task_tracker?sslmode=disable"
# log_levels: ["debug", "error", "trace", "info", "warn"]
log_levels: ["error", "info", "warn"]
git:
# Github: sha1, Gogs: sha256
webhook_hash: "sha256"
# Github: 'X-Hub-Signature', Gogs: 'X-Gogs-Signature'
webhook_sig_header: "X-Gogs-Signature"
log:
# panic, fatal, error, warn, info, debug, trace
level: "trace"
session:
cookie_name: "tt"
expiration: "8h"
monitoring:
snapshot_interval: "120s"
history_length: "400h"
maintenance:
reset_timed_out_tasks_interval: "5m"