mirror of
https://gitlab.com/crafty-controller/crafty-documentation.git
synced 2025-12-05 01:10:14 +00:00
Update config.json table
This commit is contained in:
@@ -28,20 +28,22 @@ This file is Crafty's system configuration file, it provides numerous settings w
|
||||
| "crafty_logs_delete_after_days" | int | 0 | How we should keep crafty logs for (days, 0 is never delete) |
|
||||
| "delete_default_json" | bool | false | Whether to use [default.json](#what-is-defaultjson) when starting Crafty for the first time. |
|
||||
| "dir_size_poll_freq_minutes" | int | 5 | How often we should poll directories for their size (minutes)<br>(The more this happens the performance intensive Crafty will be) |
|
||||
| "disabled_language_files" | list[str] | [ ] | Which languages you would like disabled for users. |
|
||||
| "disabled_language_files" | list[str] | [ ] | Which languages you would like disabled for users. |
|
||||
| "enable_otp_skew" | bool | false | Permit the OTP / MFA system to accept one token before current & one token after. |
|
||||
| "enable_user_self_delete" | bool | false | Can a user delete themselves. |
|
||||
| "history_max_age" | int | 7 | How long we should hold onto stats in the database for. (days) |
|
||||
| "http_port" | int | 8000 | Port for our http redirect server |
|
||||
| "https_port" | int | 8443 | Port for Crafty's main secure webserver. |
|
||||
| "keywords" | list[str] | [ <br>"help",<br>"chunk"<br> ] | Keywords that will be highlighted in the terminal and in the logs page. |
|
||||
| "language" | str | "en_EN" | Default Crafty instance language.<br>(This is for login page and any public pages with translations enabled) |
|
||||
| "max_audit_entries" | int | 300 | How many audit log entries we will keep in the DB. |
|
||||
| "max_log_lines" | int | 700 | How many lines of logs we will keep on the logs page. |
|
||||
| "max_login_attempts" | int | 3 | How many login attempts are permitted before cooldown triggers. |
|
||||
| "monitored_mounts" | str | "C:\\" | Mount points that will appear under 'storage monitoring' on the dashboard. |
|
||||
| "reset_secrets_on_next_boot" | bool | false | Should we reset the key secrets on the next boot? |
|
||||
| "show_contribute_link" | bool | true | Show the link to contributors on the navigation of Crafty. |
|
||||
| "show_errors" | bool | true | Should we show traceback errors on the page<br>(This helps us with debugging when you come in with issues. 👷♂️) |
|
||||
| "stats_update_frequency_seconds" | int | 30 | How often we poll your server for stats. (seconds) |
|
||||
| "superMFA" | bool | true | Enforces MFA to be configured for 'super users' if `true` |
|
||||
| "virtual_terminal_lines" | int | 70 | How many lines we should save in your server's terminal buffer. |
|
||||
|
||||
## Changing the server storage location
|
||||
|
||||
Reference in New Issue
Block a user