Not sure that I'd bet the bank that this is secure. It probably is. From what I can see, you have to be able to go in and do things as root.
32 lines
696 B
TOML
32 lines
696 B
TOML
metadata_dir = "/app/data/garage/meta"
|
|
|
|
# https://garagehq.deuxfleurs.fr/documentation/operations/multi-hdd/
|
|
data_dir = [
|
|
{ path = "/app/data/garage/data", capacity = "1G" },
|
|
]
|
|
|
|
db_engine = "sqlite"
|
|
|
|
replication_factor = 1
|
|
|
|
rpc_bind_addr = "[::]:3901"
|
|
rpc_public_addr = "127.0.0.1:3901"
|
|
rpc_secret_file = "/app/data/garage/rpc-secret"
|
|
|
|
[s3_api]
|
|
s3_region = "garage"
|
|
api_bind_addr = "[::]:3900"
|
|
root_domain = ".s3.garage.localhost"
|
|
|
|
[s3_web]
|
|
bind_addr = "[::]:3902"
|
|
root_domain = ".web.garage.localhost"
|
|
index = "index.html"
|
|
|
|
# [k2v_api]
|
|
# api_bind_addr = "[::]:3904"
|
|
|
|
[admin]
|
|
api_bind_addr = "[::]:3903"
|
|
admin_token = "$(openssl rand -base64 32)"
|
|
metrics_token = "$(openssl rand -base64 32)" |