-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcircus.example.toml
More file actions
62 lines (54 loc) · 1.65 KB
/
Copy pathcircus.example.toml
File metadata and controls
62 lines (54 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Configuration File for Circus CI system
# This file contains default configuration for all circus components
[database]
connect_timeout = 30
idle_timeout = 600
max_connections = 20
max_lifetime = 1800
min_connections = 5
url = "postgresql://circus:password@localhost/circus"
[server]
allowed_origins = [ ]
host = "127.0.0.1"
max_body_size = 10485760 # 10MB
port = 3000
request_timeout = 30
# Security options
# openapi_enabled = false # disable /api/v1/openapi.json
# force_secure_cookies = true # enable when behind HTTPS reverse proxy (nginx/caddy)
# rate_limit_rps = 100 # requests per second per IP (helps prevent DoS attacks)
# rate_limit_burst = 20 # burst size before rate limit enforcement
[ui]
assets = true
brand_name = "circus"
brand_subtitle = "Nix CI"
dashboard = true
enabled = true
# logo_url = "/static/custom/logo.svg"
# favicon_url = "/static/custom/favicon.svg"
# custom_css = "/etc/circus/dashboard.css"
# static_dir = "/etc/circus/static"
# [ui.css_variables]
# accent = "#2563eb"
# bg = "#f8fafc"
# text = "#0f172a"
[evaluator]
allow_ifd = false
auto_allowed_uris = true
git_timeout = 600
nix_timeout = 1800
poll_interval = 60
require_locked_flake = false
restrict_eval = true
work_dir = "/tmp/circus-evaluator"
[queue_runner]
build_timeout = 3600
poll_interval = 5
work_dir = "/tmp/circus-queue-runner"
workers = 4
[cache]
enabled = true
# cache_url = "https://ci.example.org/nix-cache/"
# [[cache.upstreams]]
# url = "https://cache.nixos.org/"
# public_key = "cache.nixos.org-1:..."