28 lines
879 B
TOML
28 lines
879 B
TOML
# Garage v1.x configuration — single-node family instance.
|
|
#
|
|
# WARNING: the three tokens below ARE secrets. Generate unique values before
|
|
# first launch and keep this file out of git:
|
|
# docker run --rm dxflrs/garage:v1.0.1 secret generate (x3)
|
|
# Then place the outputs here and as GARAGE_ADMIN_TOKEN/GARAGE_METRICS_TOKEN
|
|
# in .env for parity.
|
|
|
|
metadata_dir = "/var/lib/garage/meta"
|
|
data_dir = "/var/lib/garage/data"
|
|
db_engine = "lmdb"
|
|
block_size = 1048576
|
|
replication_mode = "none"
|
|
|
|
# Single-node RPC listener + shared secret (patched from .env at deploy)
|
|
rpc_bind_addr = "[::]:3901"
|
|
rpc_secret = "___GARAGE_RPC_SECRET___"
|
|
|
|
[s3_api]
|
|
s3_region = "garage"
|
|
api_bind_addr = "[::]:3900"
|
|
root_domain = ".s3.lab.audasmedia.com.au"
|
|
s3_website_enabled = false
|
|
|
|
[admin]
|
|
api_bind_addr = "[::]:3902"
|
|
admin_token = "___GARAGE_ADMIN_TOKEN___"
|
|
metrics_token = "___GARAGE_METRICS_TOKEN___" |