use bools and numbers in config instead of parsing from string

This commit is contained in:
Milo Schwartz
2024-10-23 00:01:41 -04:00
parent 717aa09daa
commit 2322640dc0
2 changed files with 27 additions and 43 deletions

View File

@@ -2,19 +2,19 @@ app:
name: Pangolin
base_url: http://localhost:3000
log_level: warning
save_logs: "false"
save_logs: false
server:
external_port: "3000"
internal_port: "3001"
external_port: 3000
internal_port: 3001
internal_hostname: pangolin
secure_cookies: "true"
secure_cookies: true
traefik:
cert_resolver: "letsencrypt"
http_entrypoint: "web"
https_entrypoint: "websecure"
cert_resolver: letsencrypt
http_entrypoint: web
https_entrypoint: websecure
rate_limit:
window_minutes: "1"
max_requests: "100"
window_minutes: 1
max_requests: 100