aboutsummaryrefslogtreecommitdiff
path: root/app/garage-staging/config
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-25 19:40:51 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-25 19:40:51 +0100
commit60dc1b21a1fdbebae663790e1e07afe704758d61 (patch)
tree0d96ce82707c6e9caae59deadbdea245f6830e73 /app/garage-staging/config
parente77254e97f16dfec41277e46ba3ddc7e2bd3d664 (diff)
downloadnixcfg-60dc1b21a1fdbebae663790e1e07afe704758d61.tar.gz
nixcfg-60dc1b21a1fdbebae663790e1e07afe704758d61.zip
Add hcl files in here for staging cluster
Diffstat (limited to 'app/garage-staging/config')
-rw-r--r--app/garage-staging/config/garage.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/garage-staging/config/garage.toml b/app/garage-staging/config/garage.toml
new file mode 100644
index 0000000..fffcf0c
--- /dev/null
+++ b/app/garage-staging/config/garage.toml
@@ -0,0 +1,23 @@
+block_size = 1048576
+
+metadata_dir = "/meta"
+data_dir = "/data"
+
+replication_mode = "3"
+
+rpc_bind_addr = "0.0.0.0:3991"
+rpc_secret = "{{ key "secrets/garage-staging/rpc_secret" | trimSpace }}"
+
+consul_host = "localhost:8500"
+consul_service_name = "garage-staging-rpc-self-advertised"
+
+bootstrap_peers = []
+
+[s3_api]
+s3_region = "garage-staging"
+api_bind_addr = "0.0.0.0:3990"
+
+[s3_web]
+bind_addr = "0.0.0.0:3992"
+root_domain = ".garage-staging-web.home.adnab.me"
+index = "index.html"