aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-05-28 15:55:52 +0200
committerAlex Auvolat <alex@adnab.me>2021-05-28 15:55:52 +0200
commita26d41259af602daad2972f0ae28d98c0a38e079 (patch)
tree26924d9ddbe37c137ad9392098f28bed0d063044
parent73d30b9aa5f8209482139045de34881110faccf1 (diff)
downloadinfrastructure-a26d41259af602daad2972f0ae28d98c0a38e079.tar.gz
infrastructure-a26d41259af602daad2972f0ae28d98c0a38e079.zip
Update garage to v0.3.0
-rw-r--r--app/garage/config/garage.toml5
-rw-r--r--app/garage/deploy/garage.hcl2
2 files changed, 3 insertions, 4 deletions
diff --git a/app/garage/config/garage.toml b/app/garage/config/garage.toml
index 4d08cf2..481312d 100644
--- a/app/garage/config/garage.toml
+++ b/app/garage/config/garage.toml
@@ -3,6 +3,8 @@ block_size = 1048576
metadata_dir = "/garage/meta"
data_dir = "/garage/data"
+replication_mode = "3"
+
rpc_bind_addr = "[::]:3901"
consul_host = "consul.service.2.cluster.deuxfleurs.fr:8500"
@@ -11,9 +13,6 @@ consul_service_name = "garage-rpc"
bootstrap_peers = []
max_concurrent_rpc_requests = 12
-data_replication_factor = 3
-meta_replication_factor = 3
-meta_epidemic_fanout = 3
[rpc_tls]
ca_cert = "/garage/garage-ca.crt"
diff --git a/app/garage/deploy/garage.hcl b/app/garage/deploy/garage.hcl
index 5a55b86..41e36a0 100644
--- a/app/garage/deploy/garage.hcl
+++ b/app/garage/deploy/garage.hcl
@@ -25,7 +25,7 @@ job "garage" {
driver = "docker"
config {
advertise_ipv6_address = true
- image = "superboum/garage_amd64:6ccffc3162"
+ image = "lxpz/garage_amd64:v0.3.0"
network_mode = "host"
volumes = [
"/mnt/storage/garage/data:/garage/data",