aboutsummaryrefslogtreecommitdiff
path: root/app/garage-staging/config
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-11-18 17:14:30 +0100
committerAlex Auvolat <alex@adnab.me>2021-11-18 17:14:30 +0100
commit9ce6c7ad6ed3645a2cbf7802106ebb2aa2387cce (patch)
tree5a5aa23b1eb6416749eb54aa96dfc6e8e472616a /app/garage-staging/config
parent0268f63f66412e1854e9c2168e8008ae3f020f0f (diff)
downloadinfrastructure-9ce6c7ad6ed3645a2cbf7802106ebb2aa2387cce.tar.gz
infrastructure-9ce6c7ad6ed3645a2cbf7802106ebb2aa2387cce.zip
Add config files for garage 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..60f97c5
--- /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 = "[::]: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 = "[::]:3990"
+
+[s3_web]
+bind_addr = "[::]:3992"
+root_domain = ".web-staging.deuxfleurs.fr"
+index = "index.html"