[instance] name = "fabrica" url = "http://localhost:8080" description = "" default_branch = "main" allow_anonymous = true [server] address = "0.0.0.0" port = 8080 behind_proxy = false graceful_shutdown_secs = 20 max_body_bytes = 1048576 [ssh] enabled = true address = "0.0.0.0" port = 2222 host_key_path = "data/host_key" clone_host = "localhost" clone_port = 22 [storage] data_dir = "data/fabrica" repo_dir = "data/repos" [database] url = "sqlite://data/fabrica.db" max_connections = 16 [auth] session_ttl_days = 30 token_ttl_days = 90 invite_ttl_hours = 72 cookie_name = "fabrica_session" cookie_secure = true argon2_m_cost = 19456 argon2_t_cost = 2 argon2_p_cost = 1 [mail] backend = "stdout" from = "fabrica@localhost" host = "" port = 587 username = "" encryption = "starttls" timeout_secs = 15 [ui] theme = "dark" themes_dir = "data/themes" assets_dir = "data/assets" allow_theme_choice = true show_runs = false diff_context_lines = 3 max_highlight_bytes = 1048576 max_diff_bytes = 5242880 tree_history_limit = 1000 [git] binary = "git" transport_timeout_secs = 3600 max_pack_size_bytes = 536870912 [search] concurrency = 4 timeout_secs = 10 max_results = 200 [log] level = "info" format = "pretty"