From 2aec565b403fa0da2be5a4b639c4fc7c18d3e35f Mon Sep 17 00:00:00 2001 From: brooke Date: Sat, 1 Mar 2025 15:58:41 -0500 Subject: [PATCH] add garage.toml --- garage.toml.tmpl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 garage.toml.tmpl diff --git a/garage.toml.tmpl b/garage.toml.tmpl new file mode 100644 index 0000000..a8f79dd --- /dev/null +++ b/garage.toml.tmpl @@ -0,0 +1,22 @@ +metadata_dir = "/var/lib/garage/meta" +data_dir = "/var/lib/garage/data" +db_engine = "lmdb" +metadata_auto_snapshot_interval = "6h" + +replication_factor = 3 + +compression_level = 2 + +rpc_bind_addr = "[::]:3901" +rpc_public_addr = "{{ env "DOMAIN" }}:3901" +rpc_secret = "" + +[s3_api] +s3_region = "garage" +api_bind_addr = "[::]:3900" +root_domain = ".s3.garage" + +[s3_web] +bind_addr = "[::]:3902" +root_domain = ".web.garage" +index = "index.html" \ No newline at end of file