aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-10 14:34:18 +0100
committerAlex Auvolat <alex@adnab.me>2022-02-10 14:34:18 +0100
commit0b16fd1c08e26ac3304079f8fe28ad068564eb90 (patch)
treed4772a6fa49eb5a35a33901efe9d432358435ae6
parent41e1a31bb94273ac7c426647b6a7aa0f837df41d (diff)
downloadinfrastructure-0b16fd1c08e26ac3304079f8fe28ad068564eb90.tar.gz
infrastructure-0b16fd1c08e26ac3304079f8fe28ad068564eb90.zip
Update Garage and change a few config parameters
-rw-r--r--app/garage/config/garage.toml3
-rw-r--r--app/garage/deploy/garage.hcl4
2 files changed, 5 insertions, 2 deletions
diff --git a/app/garage/config/garage.toml b/app/garage/config/garage.toml
index 177792e..da24b21 100644
--- a/app/garage/config/garage.toml
+++ b/app/garage/config/garage.toml
@@ -8,6 +8,9 @@ replication_mode = "3"
rpc_bind_addr = "[::]:3901"
rpc_secret = "{{ key "secrets/garage/rpc_secret" | trimSpace }}"
+sled_cache_capacity = 536870912
+sled_sync_interval_ms = 10000
+
[s3_api]
s3_region = "garage"
api_bind_addr = "[::]:3900"
diff --git a/app/garage/deploy/garage.hcl b/app/garage/deploy/garage.hcl
index 90fab07..8163c2c 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 = "dxflrs/amd64_garage:v0.6.0"
+ image = "dxflrs/amd64_garage:d2c54abf8afb0703a4eaa69ea2847879c7edc5a1"
command = "/garage"
args = [ "server" ]
network_mode = "host"
@@ -45,7 +45,7 @@ job "garage" {
}
resources {
- memory = 1000
+ memory = 1500
cpu = 1000
}