aboutsummaryrefslogtreecommitdiff
path: root/app/garage/config
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2021-10-26 16:17:59 +0200
committerAlex <alex@adnab.me>2021-10-26 16:17:59 +0200
commit6c90a00f048e6b9b740efc91d2b8509fa7b83453 (patch)
treeef42d63ce5945f68c5109e3eb2258b3a281ff6f0 /app/garage/config
parentc51b654dd6b545137e61bafd2054cba60b0f0906 (diff)
parent7fc001a92f2587a8d725d23b53b10e4df5fed7f2 (diff)
downloadinfrastructure-6c90a00f048e6b9b740efc91d2b8509fa7b83453.tar.gz
infrastructure-6c90a00f048e6b9b740efc91d2b8509fa7b83453.zip
Merge pull request 'Migration to garage 0.4' (#53) from garage04 into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/infrastructure/pulls/53
Diffstat (limited to 'app/garage/config')
-rw-r--r--app/garage/config/garage.toml14
1 files changed, 4 insertions, 10 deletions
diff --git a/app/garage/config/garage.toml b/app/garage/config/garage.toml
index 481312d..e637cfb 100644
--- a/app/garage/config/garage.toml
+++ b/app/garage/config/garage.toml
@@ -1,24 +1,18 @@
block_size = 1048576
-metadata_dir = "/garage/meta"
-data_dir = "/garage/data"
+metadata_dir = "/meta"
+data_dir = "/data"
replication_mode = "3"
rpc_bind_addr = "[::]:3901"
+rpc_secret = "{{ key "secrets/garage/rpc_secret" | trimSpace }}"
consul_host = "consul.service.2.cluster.deuxfleurs.fr:8500"
-consul_service_name = "garage-rpc"
+consul_service_name = "garage-rpc-self-advertised"
bootstrap_peers = []
-max_concurrent_rpc_requests = 12
-
-[rpc_tls]
-ca_cert = "/garage/garage-ca.crt"
-node_cert = "/garage/garage.crt"
-node_key = "/garage/garage.key"
-
[s3_api]
s3_region = "garage"
api_bind_addr = "[::]:3900"