chore: add sample config
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ia2690cddf505a7531fa61158a3719bf36a6a6964
This commit is contained in:
parent
ad94316893
commit
0908317733
1 changed files with 31 additions and 0 deletions
31
fc.toml
Normal file
31
fc.toml
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
# FC CI Configuration File
|
||||||
|
# This file contains default configuration for all FC CI components
|
||||||
|
|
||||||
|
[database]
|
||||||
|
url = "postgresql://fc_ci:password@localhost/fc_ci"
|
||||||
|
max_connections = 20
|
||||||
|
min_connections = 5
|
||||||
|
connect_timeout = 30
|
||||||
|
idle_timeout = 600
|
||||||
|
max_lifetime = 1800
|
||||||
|
|
||||||
|
[server]
|
||||||
|
host = "127.0.0.1"
|
||||||
|
port = 3000
|
||||||
|
request_timeout = 30
|
||||||
|
max_body_size = 10485760 # 10MB
|
||||||
|
allowed_origins = []
|
||||||
|
|
||||||
|
[evaluator]
|
||||||
|
poll_interval = 60
|
||||||
|
git_timeout = 600
|
||||||
|
nix_timeout = 1800
|
||||||
|
work_dir = "/tmp/fc-evaluator"
|
||||||
|
restrict_eval = true
|
||||||
|
allow_ifd = false
|
||||||
|
|
||||||
|
[queue_runner]
|
||||||
|
workers = 4
|
||||||
|
poll_interval = 5
|
||||||
|
build_timeout = 3600
|
||||||
|
work_dir = "/tmp/fc-queue-runner"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue