fabrica

hanna/fabrica

1215 bytes
Raw
1[instance]
2name = "fabrica"
3url = "http://localhost:8080"
4description = ""
5default_branch = "main"
6allow_anonymous = true
7
8[server]
9address = "0.0.0.0"
10port = 8080
11behind_proxy = false
12graceful_shutdown_secs = 20
13max_body_bytes = 1048576
14
15[ssh]
16enabled = true
17address = "0.0.0.0"
18port = 2222
19host_key_path = "data/host_key"
20clone_host = "localhost"
21clone_port = 22
22
23[storage]
24data_dir = "data/fabrica"
25repo_dir = "data/repos"
26
27[database]
28url = "sqlite://data/fabrica.db"
29max_connections = 16
30
31[auth]
32session_ttl_days = 30
33token_ttl_days = 90
34invite_ttl_hours = 72
35cookie_name = "fabrica_session"
36cookie_secure = true
37argon2_m_cost = 19456
38argon2_t_cost = 2
39argon2_p_cost = 1
40
41[mail]
42backend = "stdout"
43from = "fabrica@localhost"
44host = ""
45port = 587
46username = ""
47encryption = "starttls"
48timeout_secs = 15
49
50[ui]
51theme = "dark"
52themes_dir = "data/themes"
53assets_dir = "data/assets"
54allow_theme_choice = true
55show_runs = false
56diff_context_lines = 3
57max_highlight_bytes = 1048576
58max_diff_bytes = 5242880
59tree_history_limit = 1000
60
61[git]
62binary = "git"
63transport_timeout_secs = 3600
64max_pack_size_bytes = 536870912
65
66[search]
67concurrency = 4
68timeout_secs = 10
69max_results = 200
70
71[log]
72level = "info"
73format = "pretty"