chore: backup infrastructure configurations [skip ci]
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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}
|
||||
{"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}
|
||||
@@ -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}
|
||||
{"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}
|
||||
@@ -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}
|
||||
{"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}
|
||||
@@ -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}
|
||||
{"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}
|
||||
@@ -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"]}
|
||||
{"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"]}
|
||||
@@ -85,7 +85,7 @@ EOF
|
||||
# Resources
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 512
|
||||
memory = 128
|
||||
}
|
||||
|
||||
# Service registration
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user