From 05ec16772d972aa6de4ab3599d6085ba93c2b91c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 4 Dec 2025 02:00:49 +0000 Subject: [PATCH] chore: backup infrastructure configurations [skip ci] --- consul_backup/metadata.json | 2 +- .../nomad/postgres/members/pg-odroid6 | 2 +- .../nomad/postgres/members/pg-odroid7 | 2 +- .../nomad/postgres/members/pg-odroid8 | 2 +- consul_backup/nomad/postgres/members/pg-opti1 | 2 +- consul_backup/nomad/postgres/status | 2 +- nomad_backup/garage.hcl | 2 +- nomad_backup/immich.hcl | 6 +-- nomad_backup/nzbget.hcl | 53 ------------------- 9 files changed, 10 insertions(+), 63 deletions(-) diff --git a/consul_backup/metadata.json b/consul_backup/metadata.json index f4b6bd4..8ba88cd 100644 --- a/consul_backup/metadata.json +++ b/consul_backup/metadata.json @@ -1,5 +1,5 @@ { - "backup_timestamp": "2025-12-03T02:00:45.914921", + "backup_timestamp": "2025-12-04T02:00:49.445063", "total_keys": 79, "successful_backups": 74, "failed_backups": 5, diff --git a/consul_backup/nomad/postgres/members/pg-odroid6 b/consul_backup/nomad/postgres/members/pg-odroid6 index ab1f281..b788503 100644 --- a/consul_backup/nomad/postgres/members/pg-odroid6 +++ b/consul_backup/nomad/postgres/members/pg-odroid6 @@ -1 +1 @@ -{"conn_url":"postgres://192.168.4.226:5432/postgres","api_url":"http://192.168.4.226:8008/patroni","state":"running","role":"replica","version":"4.0.4","xlog_location":598425655232,"replication_state":"streaming","timeline":248} \ No newline at end of file +{"conn_url":"postgres://192.168.4.226:5432/postgres","api_url":"http://192.168.4.226:8008/patroni","state":"running","role":"replica","version":"4.0.4","xlog_location":599829803936,"replication_state":"streaming","timeline":248} \ No newline at end of file diff --git a/consul_backup/nomad/postgres/members/pg-odroid7 b/consul_backup/nomad/postgres/members/pg-odroid7 index b321e87..3be4658 100644 --- a/consul_backup/nomad/postgres/members/pg-odroid7 +++ b/consul_backup/nomad/postgres/members/pg-odroid7 @@ -1 +1 @@ -{"conn_url":"postgres://192.168.4.227:5432/postgres","api_url":"http://192.168.4.227:8008/patroni","state":"running","role":"replica","version":"4.0.4","xlog_location":598425427216,"replication_state":"streaming","timeline":248} \ No newline at end of file +{"conn_url":"postgres://192.168.4.227:5432/postgres","api_url":"http://192.168.4.227:8008/patroni","state":"running","role":"replica","version":"4.0.4","xlog_location":599841055992,"replication_state":"streaming","timeline":248} \ No newline at end of file diff --git a/consul_backup/nomad/postgres/members/pg-odroid8 b/consul_backup/nomad/postgres/members/pg-odroid8 index 3ff7452..5c2c35b 100644 --- a/consul_backup/nomad/postgres/members/pg-odroid8 +++ b/consul_backup/nomad/postgres/members/pg-odroid8 @@ -1 +1 @@ -{"conn_url":"postgres://192.168.4.228:5432/postgres","api_url":"http://192.168.4.228:8008/patroni","state":"running","role":"primary","version":"4.0.4","xlog_location":598425427216,"timeline":248} \ No newline at end of file +{"conn_url":"postgres://192.168.4.228:5432/postgres","api_url":"http://192.168.4.228:8008/patroni","state":"running","role":"primary","version":"4.0.4","xlog_location":599839997952,"timeline":248} \ No newline at end of file diff --git a/consul_backup/nomad/postgres/members/pg-opti1 b/consul_backup/nomad/postgres/members/pg-opti1 index d2f870b..e179268 100644 --- a/consul_backup/nomad/postgres/members/pg-opti1 +++ b/consul_backup/nomad/postgres/members/pg-opti1 @@ -1 +1 @@ -{"conn_url":"postgres://192.168.4.36:5432/postgres","api_url":"http://192.168.4.36:8008/patroni","state":"running","role":"replica","version":"4.0.4","xlog_location":598425657696,"replication_state":"streaming","timeline":248} \ No newline at end of file +{"conn_url":"postgres://192.168.4.36:5432/postgres","api_url":"http://192.168.4.36:8008/patroni","state":"running","role":"replica","version":"4.0.4","xlog_location":599829831680,"replication_state":"streaming","timeline":248} \ No newline at end of file diff --git a/consul_backup/nomad/postgres/status b/consul_backup/nomad/postgres/status index b0ca537..8bf0549 100644 --- a/consul_backup/nomad/postgres/status +++ b/consul_backup/nomad/postgres/status @@ -1 +1 @@ -{"optime":598425427216,"slots":{"pg_odroid6":598425427216,"pg_odroid7":598425427216,"pg_opti1":598425427216,"pg_odroid8":598425427216},"retain_slots":["pg_odroid6","pg_odroid7","pg_odroid8","pg_opti1"]} \ No newline at end of file +{"optime":599839997952,"slots":{"pg_odroid6":599839997952,"pg_odroid7":599839997952,"pg_opti1":599839997952,"pg_odroid8":599839997952},"retain_slots":["pg_odroid6","pg_odroid7","pg_odroid8","pg_opti1"]} \ No newline at end of file diff --git a/nomad_backup/garage.hcl b/nomad_backup/garage.hcl index 5ce9999..9d46775 100644 --- a/nomad_backup/garage.hcl +++ b/nomad_backup/garage.hcl @@ -85,7 +85,7 @@ EOF # Resources resources { cpu = 500 - memory = 512 + memory = 128 } # Service registration diff --git a/nomad_backup/immich.hcl b/nomad_backup/immich.hcl index 5ad152f..f504519 100644 --- a/nomad_backup/immich.hcl +++ b/nomad_backup/immich.hcl @@ -1,8 +1,8 @@ job "immich" { constraint { attribute = "${attr.cpu.arch}" - operator = "!=" - value = "arm" + operator = "=" + value = "amd64" } datacenters = ["dc1"] # Specify your datacenter @@ -15,7 +15,7 @@ job "immich" { driver = "docker" config { - image = "ghcr.io/imagegenius/immich:2.2.3-noml" + image = "ghcr.io/imagegenius/immich:2.3.1-noml" memory_hard_limit = "2048" ports = ["http"] volumes = [ diff --git a/nomad_backup/nzbget.hcl b/nomad_backup/nzbget.hcl index c727cb5..b9a560b 100644 --- a/nomad_backup/nzbget.hcl +++ b/nomad_backup/nzbget.hcl @@ -47,59 +47,6 @@ job "nzbget" { // } // } - task "nzbget" { - driver = "docker" - - config { - image = "linuxserver/nzbget" - network_mode = "container:ovpn-client-${NOMAD_ALLOC_ID}" - - // ports = ["nzbget"] - volumes = [ - "/mnt/Public/Downloads/news:/downloads", - "/mnt/Public/incoming:/incomplete-downloads", - "/mnt/configs/nzbget/nzbget:/config", - ] - } - - env { - TZ = "EST5EDT" - PUID = 1000 - PGID = 1000 - } - - resources { - cpu = 500 # 500 MHz - memory = 200 # 128MB - } - } #task nzbget - - task "saznzb" { - driver = "docker" - - config { - // image = "linuxserver/sabnzbd:2.3.8-0ubuntu1jcfp118.04-ls13" - image = "linuxserver/sabnzbd" - network_mode = "container:ovpn-client-${NOMAD_ALLOC_ID}" - - volumes = [ - "/mnt/Public/Downloads/news:/downloads", - "/mnt/Public/incoming:/incomplete-downloads", - "/mnt/configs/saznzb/saznzb:/config", - ] - } - - env { - TZ = "EST5EDT" - PUID = 1000 - PGID = 1000 - } - - resources { - cpu = 500 # 500 MHz - memory = 1024 # 128MB - } - } task "ovpn-client" { driver = "docker"