Krolyxon
Commit 55c1225

ferreniumdistferrenium.toml

60 lines · 1.8 KB · TOML

1# Ferrenium configuration. Every key is optional; the values shown are the
2# defaults unless noted. Unknown keys are an error — run `ferrenium check`.
3# Relative paths are resolved against the directory of this file.
4
5[server]
6listen = "127.0.0.1:8080" # or "unix:/run/ferrenium/ferrenium.sock"
7base_url = "https://git.krolyxon.com" # used for absolute URLs (feeds, clone URLs); default: unset
8base_path = "/" # serve under a sub-path, e.g. "/git/"
9trusted_proxy = true # log X-Forwarded-For; default: false
10compression = true # gzip + brotli
11
12[site]
13title = "krolyxon" # default: "ferrenium"
14description = "Personal git repositories"
15clone_urls = ["https://git.krolyxon.com/{name}", "git@git.krolyxon.com:{name}"]
16# custom_css = "custom.css"
17# header = "header.html"
18# footer = "footer.html"
19
20[repos]
21scan_path = "/home/git"
22max_depth = 3
23follow_symlinks = false
24section_from_path = false
25hide = [] # globs over repo names, e.g. ["private/*"]
26snapshots = ["tar.gz", "zip"]
27https_clone = true
28
29# Optional per-repo overrides (take precedence over git config and the
30# repository's description file).
31# [[repo]]
32# name = "dotfiles"
33# description = "My dotfiles"
34# section = "config"
35# owner = "krolyxon"
36# hidden = false
37# readme = "docs/README.md"
38# default_branch = "main"
39
40[ui]
41theme = "auto" # auto | dark | light
42code_font = "Space Mono"
43max_blob_kb = 1024
44max_highlight_kb = 256
45
46[cache]
47size_mb = 64
48
49[watch]
50enabled = true
51debounce_ms = 500
52poll_interval_secs = 300 # 0 disables the periodic full rescan
53
54[limits]
55git_parallel = 0 # 0 = 2 × CPUs
56heavy_parallel = 2
57request_timeout_secs = 30
58
59[log]
60level = "info" # RUST_LOG takes precedence when set