aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-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",