v0.2.0
This commit is contained in:
1 parent
fc81ecafd6
commit
dc57aa7089
89 files changed
+5290
-1551
No files matched your search
+41
-6
@@ -1,4 +1,4 @@
|
||||
# RustBox 0.1.2
|
||||
# RustBox 0.2.0
|
||||
host = "127.0.0.1"
|
||||
port = 3001
|
||||
environment = "production"
|
||||
@@ -21,11 +21,8 @@ database_backend = "sqlite" # sqlite | mysql | pgsql
|
||||
# database_url = "postgres://rustbox:secret@db.example.com/rustbox"
|
||||
session_backend = "database" # database | redis
|
||||
cluster_mode = false
|
||||
# Required acknowledgement in cluster mode: data_dir must be shared by every node
|
||||
# because draft attachments are stored there.
|
||||
cluster_shared_data_dir = false
|
||||
# Built-in Tantivy is single-node. Cluster mode requires disabled.
|
||||
search_index_backend = "tantivy" # tantivy | disabled
|
||||
|
||||
|
||||
# For shared database sessions, Redis sessions, or cluster mode provide the same 32-byte key (base64) on all nodes.
|
||||
# session_encryption_key = "..."
|
||||
# Direct Redis session backend:
|
||||
@@ -92,3 +89,41 @@ pgp_max_key_bytes = 1048576
|
||||
# Private-key export is deliberately disabled unless the administrator opts in.
|
||||
pgp_allow_private_export = false
|
||||
|
||||
# RustBox 0.2 blob/search backends
|
||||
# Blob storage is independent from the SQL database. PostgreSQL/MySQL can still use
|
||||
# local filesystem storage in single-node mode. In cluster mode use S3-compatible
|
||||
# storage or a genuinely shared POSIX filesystem (NFS/CephFS/GlusterFS).
|
||||
[storage]
|
||||
backend = "filesystem" # filesystem | s3
|
||||
# path = "/var/lib/rustbox/blobs" # defaults to data_dir for filesystem
|
||||
shared = false # true only when every RustBox node sees the same filesystem
|
||||
prefix = ""
|
||||
# S3-compatible settings:
|
||||
# bucket = "rustbox"
|
||||
# region = "us-east-1"
|
||||
# endpoint = "https://s3.example.com" # MinIO/Ceph RGW/etc. optional for AWS S3
|
||||
# path_style = false
|
||||
# allow_http = false
|
||||
request_timeout_secs = 30
|
||||
connect_timeout_secs = 5
|
||||
max_retries = 3
|
||||
retry_timeout_secs = 60
|
||||
# access_key_id = "..." # AWS_* environment variables are also supported
|
||||
# secret_access_key = "..."
|
||||
# server_side_encryption = "AES256" # or "aws:kms"
|
||||
# kms_key_id = "..."
|
||||
|
||||
# Search is independent from blob storage. Local Tantivy is single-node only.
|
||||
[search]
|
||||
backend = "local_tantivy" # disabled | local_tantivy | opensearch
|
||||
# path = "/var/lib/rustbox/search" # defaults to data_dir for local_tantivy
|
||||
# urls = ["https://opensearch.example.com:9200"]
|
||||
index_prefix = "rustbox"
|
||||
required = false
|
||||
allow_insecure_http = false
|
||||
request_timeout_secs = 10
|
||||
worker_interval_secs = 2
|
||||
worker_batch_size = 100
|
||||
worker_max_attempts = 8
|
||||
# username = "rustbox"
|
||||
# password = "..."
|
||||
Reference in new issue
Block a user