stillbox/config.sample.yaml

38 lines
884 B
YAML
Raw Normal View History

2024-07-14 17:39:03 -04:00
db:
connect: 'postgres://postgres:password@localhost:5432/example'
2024-08-14 19:12:20 -04:00
cors:
allowedOrigins:
- 'http://localhost:*'
- 'https://stillbox.server'
2024-08-04 08:55:12 -04:00
auth:
jwtsecret: 'super secret string'
# this is the JWT cookie domain
domain: example.com
# this allows the JWT cookie to be served over plain HTTP only for these Host: header values
allowInsecureFor:
2024-08-15 13:28:03 -04:00
"localhost": true
2024-07-14 17:39:03 -04:00
listen: ':3050'
public: true
2024-10-17 10:00:23 -04:00
log:
# level logs at or above the specified level
# levels are trace, debug, info, warn, error, fatal, panic
# an entry without a file: property indicates stderr
- level: debug
- level: error
file: error.log
2024-10-18 15:21:42 -04:00
rateLimit:
enable: true
requests: 200
over: 2m
alerting:
enable: true
lookbackDays: 7
halfLife: 30m
recent: 2h
2024-10-31 00:10:53 -04:00
alertThreshold: 0.5
renotify: 30m
notify:
- provider: slackwebhook
config:
webhookURL: "http://somewhere"