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
|
2024-10-25 15:34:59 -04:00
|
|
|
alerting:
|
|
|
|
enable: true
|
|
|
|
lookbackDays: 7
|
|
|
|
halfLife: 30m
|
|
|
|
recent: 2h
|