circus/fc.toml
NotAShelf 3807293eb7
chore: update security updates in example config
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I2b2eee2f6f8b2e939d0c080fb37f0bb76a6a6964
2026-02-28 12:18:17 +03:00

35 lines
937 B
TOML

# FC CI Configuration File
# This file contains default configuration for all FC CI components
[database]
connect_timeout = 30
idle_timeout = 600
max_connections = 20
max_lifetime = 1800
min_connections = 5
url = "postgresql://fc_ci:password@localhost/fc_ci"
[server]
allowed_origins = [ ]
host = "127.0.0.1"
max_body_size = 10485760 # 10MB
port = 3000
request_timeout = 30
# Security options
# force_secure_cookies = true # enable when behind HTTPS reverse proxy (nginx/caddy)
# rate_limit_rps = 100 # requests per second per IP (prevents DoS)
# rate_limit_burst = 20 # burst size before rate limit enforcement
[evaluator]
allow_ifd = false
git_timeout = 600
nix_timeout = 1800
poll_interval = 60
restrict_eval = true
work_dir = "/tmp/fc-evaluator"
[queue_runner]
build_timeout = 3600
poll_interval = 5
work_dir = "/tmp/fc-queue-runner"
workers = 4