From 54d4825cc5b2c506f0d9f47785b0f4c77d8f7587 Mon Sep 17 00:00:00 2001 From: gru <1+gru@gitea.linuxiarz.pl> Date: Sat, 31 Oct 2026 09:21:00 +0100 Subject: [PATCH] Update packaging/rustbox.toml --- packaging/rustbox.toml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/packaging/rustbox.toml b/packaging/rustbox.toml index 02d7b25..7d973ea 100644 --- a/packaging/rustbox.toml +++ b/packaging/rustbox.toml @@ -1,4 +1,4 @@ -# RustBox 0.1.1 - packaged production configuration (DEB/RPM) +# RustBox 0.1.2 - packaged production configuration (DEB/RPM) # # The active values below intentionally keep the existing package profile. # Alternative storage/cluster examples are provided at the end of this file @@ -12,10 +12,13 @@ port = 3001 environment = "production" data_dir = "/var/lib/rustbox" log_dir = "/var/log/rustbox" +log_level = "warning" # Database, sessions and "remember me". # With no database/session backend keys configured, the whole application uses # SQLite at data_dir/rustbox.sqlite; sessions are stored in that database. +cluster_shared_data_dir = false +search_index_backend = "tantivy" session_timeout_hours = 72 remember_me_enabled = true remember_me_days = 30 @@ -60,6 +63,7 @@ outgoing_headers = [] # ----------------------------------------------------------------------------- # OpenPGP # ----------------------------------------------------------------------------- +pgp_enabled = true pgp_wkd_enabled = true pgp_hkp_enabled = false pgp_hkp_url = "https://keys.openpgp.org" @@ -120,10 +124,14 @@ pgp_allow_private_export = true # Profile E: Redis Sentinel sessions for multiple RustBox nodes # ----------------------------------------------------------------------------- # Cluster nodes must also share the main application database. +# data_dir must be a shared filesystem mounted at the same absolute path on every node. # database_backend = "pgsql" # database_url = "postgres://rustbox:change-me@db.internal/rustbox" # session_backend = "redis" # cluster_mode = true +# cluster_shared_data_dir = true +# search_index_backend = "disabled" +# pgp_enabled = false # redis_sentinel_nodes = ["sentinel-a:26379", "sentinel-b:26379", "sentinel-c:26379"] # redis_sentinel_master = "mymaster" # redis_sentinel_password = "sentinel-secret" @@ -132,18 +140,26 @@ pgp_allow_private_export = true # ----------------------------------------------------------------------------- # Profile F: PostgreSQL application database shared by a RustBox cluster +# data_dir must be shared and mounted at the same absolute path on every node. # ----------------------------------------------------------------------------- # database_backend = "pgsql" # database_url = "postgres://rustbox:change-me@db.internal/rustbox" # session_backend = "database" # cluster_mode = true +# cluster_shared_data_dir = true +# search_index_backend = "disabled" +# pgp_enabled = false # session_encryption_key = "BASE64_32_BYTE_KEY" # ----------------------------------------------------------------------------- # Profile G: MySQL application database shared by a RustBox cluster +# data_dir must be shared and mounted at the same absolute path on every node. # ----------------------------------------------------------------------------- # database_backend = "mysql" # database_url = "mysql://rustbox:change-me@db.internal/rustbox" # session_backend = "database" # cluster_mode = true +# cluster_shared_data_dir = true +# search_index_backend = "disabled" +# pgp_enabled = false # session_encryption_key = "BASE64_32_BYTE_KEY"