Update packaging/rustbox.toml
This commit is contained in:
1 parent
d656fd388d
commit
54d4825cc5
1 file changed
+17
-1
+17
-1
@@ -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.
|
# The active values below intentionally keep the existing package profile.
|
||||||
# Alternative storage/cluster examples are provided at the end of this file
|
# Alternative storage/cluster examples are provided at the end of this file
|
||||||
@@ -12,10 +12,13 @@ port = 3001
|
|||||||
environment = "production"
|
environment = "production"
|
||||||
data_dir = "/var/lib/rustbox"
|
data_dir = "/var/lib/rustbox"
|
||||||
log_dir = "/var/log/rustbox"
|
log_dir = "/var/log/rustbox"
|
||||||
|
log_level = "warning"
|
||||||
|
|
||||||
# Database, sessions and "remember me".
|
# Database, sessions and "remember me".
|
||||||
# With no database/session backend keys configured, the whole application uses
|
# With no database/session backend keys configured, the whole application uses
|
||||||
# SQLite at data_dir/rustbox.sqlite; sessions are stored in that database.
|
# 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
|
session_timeout_hours = 72
|
||||||
remember_me_enabled = true
|
remember_me_enabled = true
|
||||||
remember_me_days = 30
|
remember_me_days = 30
|
||||||
@@ -60,6 +63,7 @@ outgoing_headers = []
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# OpenPGP
|
# OpenPGP
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
pgp_enabled = true
|
||||||
pgp_wkd_enabled = true
|
pgp_wkd_enabled = true
|
||||||
pgp_hkp_enabled = false
|
pgp_hkp_enabled = false
|
||||||
pgp_hkp_url = "https://keys.openpgp.org"
|
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
|
# Profile E: Redis Sentinel sessions for multiple RustBox nodes
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Cluster nodes must also share the main application database.
|
# 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_backend = "pgsql"
|
||||||
# database_url = "postgres://rustbox:change-me@db.internal/rustbox"
|
# database_url = "postgres://rustbox:change-me@db.internal/rustbox"
|
||||||
# session_backend = "redis"
|
# session_backend = "redis"
|
||||||
# cluster_mode = true
|
# 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_nodes = ["sentinel-a:26379", "sentinel-b:26379", "sentinel-c:26379"]
|
||||||
# redis_sentinel_master = "mymaster"
|
# redis_sentinel_master = "mymaster"
|
||||||
# redis_sentinel_password = "sentinel-secret"
|
# redis_sentinel_password = "sentinel-secret"
|
||||||
@@ -132,18 +140,26 @@ pgp_allow_private_export = true
|
|||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Profile F: PostgreSQL application database shared by a RustBox cluster
|
# 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_backend = "pgsql"
|
||||||
# database_url = "postgres://rustbox:change-me@db.internal/rustbox"
|
# database_url = "postgres://rustbox:change-me@db.internal/rustbox"
|
||||||
# session_backend = "database"
|
# session_backend = "database"
|
||||||
# cluster_mode = true
|
# cluster_mode = true
|
||||||
|
# cluster_shared_data_dir = true
|
||||||
|
# search_index_backend = "disabled"
|
||||||
|
# pgp_enabled = false
|
||||||
# session_encryption_key = "BASE64_32_BYTE_KEY"
|
# session_encryption_key = "BASE64_32_BYTE_KEY"
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Profile G: MySQL application database shared by a RustBox cluster
|
# 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_backend = "mysql"
|
||||||
# database_url = "mysql://rustbox:change-me@db.internal/rustbox"
|
# database_url = "mysql://rustbox:change-me@db.internal/rustbox"
|
||||||
# session_backend = "database"
|
# session_backend = "database"
|
||||||
# cluster_mode = true
|
# cluster_mode = true
|
||||||
|
# cluster_shared_data_dir = true
|
||||||
|
# search_index_backend = "disabled"
|
||||||
|
# pgp_enabled = false
|
||||||
# session_encryption_key = "BASE64_32_BYTE_KEY"
|
# session_encryption_key = "BASE64_32_BYTE_KEY"
|
||||||
Reference in new issue
Block a user