aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-04-01 20:11:15 +0200
committerAlex Auvolat <alex@adnab.me>2024-04-01 20:11:24 +0200
commit96ead9a597c50f4a789ef1a950a7bca2b884a550 (patch)
tree8a85a2f69992de6f51069e9e98e50ccb1c62ce81 /cluster/prod/app
parent6152dc18d62b9d50ba733dfc782c3b548e343219 (diff)
downloadnixcfg-96ead9a597c50f4a789ef1a950a7bca2b884a550.tar.gz
nixcfg-96ead9a597c50f4a789ef1a950a7bca2b884a550.zip
prod: garage v1.0.0-rc1
Diffstat (limited to 'cluster/prod/app')
-rw-r--r--cluster/prod/app/garage/config/garage.toml2
-rw-r--r--cluster/prod/app/garage/deploy/garage.hcl2
2 files changed, 3 insertions, 1 deletions
diff --git a/cluster/prod/app/garage/config/garage.toml b/cluster/prod/app/garage/config/garage.toml
index 0a25255..50d8cee 100644
--- a/cluster/prod/app/garage/config/garage.toml
+++ b/cluster/prod/app/garage/config/garage.toml
@@ -6,6 +6,8 @@ db_engine = "lmdb"
replication_mode = "3"
+metadata_auto_snapshot_interval = "24h"
+
# IPv6 config using the ipv6 address statically defined in Nomad's node metadata
# make sure to put back double { and } if re-enabling this
#rpc_bind_addr = "[{ env "meta.public_ipv6" }]:3901"
diff --git a/cluster/prod/app/garage/deploy/garage.hcl b/cluster/prod/app/garage/deploy/garage.hcl
index 74e11aa..58ebaf5 100644
--- a/cluster/prod/app/garage/deploy/garage.hcl
+++ b/cluster/prod/app/garage/deploy/garage.hcl
@@ -26,7 +26,7 @@ job "garage" {
task "server" {
driver = "docker"
config {
- image = "dxflrs/garage:v0.9.2"
+ image = "dxflrs/garage:v1.0.0-rc1"
command = "/garage"
args = [ "server" ]
network_mode = "host"