38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
replication_factor = 1
|
|
consistency_mode = "consistent"
|
|
|
|
metadata_dir = "/var/lib/garage/meta"
|
|
data_dir = "/var/lib/garage/data"
|
|
metadata_snapshots_dir = "/var/lib/garage/snapshots"
|
|
metadata_fsync = true
|
|
data_fsync = false
|
|
metadata_auto_snapshot_interval = "12h"
|
|
use_local_tz = false
|
|
|
|
# The first node is small and traffic is currently low. SQLite avoids a large
|
|
# memory map; a future multi-node rollout can use LMDB on the new nodes.
|
|
db_engine = "sqlite"
|
|
block_size = "1M"
|
|
block_ram_buffer_max = "64MiB"
|
|
block_max_concurrent_reads = 8
|
|
block_max_concurrent_writes_per_request = 3
|
|
|
|
# JPEG, PNG, WebP, AVIF and ZIP outputs are already compressed.
|
|
compression_level = 'none'
|
|
|
|
rpc_secret_file = "/run/secrets/garage_rpc_secret"
|
|
rpc_bind_addr = "[::]:3901"
|
|
rpc_public_addr = "10.70.0.2:3901"
|
|
bootstrap_peers = []
|
|
|
|
[s3_api]
|
|
api_bind_addr = "[::]:3900"
|
|
s3_region = "garage"
|
|
root_domain = ".s3.garage.internal"
|
|
|
|
[admin]
|
|
api_bind_addr = "[::]:3903"
|
|
admin_token_file = "/run/secrets/garage_admin_token"
|
|
metrics_token_file = "/run/secrets/garage_metrics_token"
|
|
metrics_require_token = true
|