chore: backup infrastructure configurations [skip ci]
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T02:50:02.299808+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T03:50:02.573654+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T04:50:02.838936+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T05:50:03.060397+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T06:50:03.288738+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T07:50:03.511754+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T08:50:03.732740+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T09:50:03.974092+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T10:50:04.225577+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T11:50:04.471247+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T12:50:04.686933+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T13:50:04.913452+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T14:50:05.145627+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T15:50:05.378909+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T16:50:05.596794+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T17:50:05.827380+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T18:50:06.067285+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T19:50:06.286843+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T20:50:06.548043+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T21:50:06.787890+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T22:50:07.005794+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-19T23:50:07.222397+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-20T00:50:07.502538+00:00"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-04-20T01:50:07.720355+00:00"}
|
||||||
111
nomad_backup/jellyfin.hcl
Normal file
111
nomad_backup/jellyfin.hcl
Normal file
@@ -0,0 +1,111 @@
|
|||||||
|
# There can only be a single job definition per file.
|
||||||
|
# Create a job with ID and Name 'example'
|
||||||
|
job "jellyfin" {
|
||||||
|
datacenters = ["dc1"]
|
||||||
|
type = "service"
|
||||||
|
|
||||||
|
constraint {
|
||||||
|
attribute = "${attr.kernel.name}"
|
||||||
|
value = "linux"
|
||||||
|
}
|
||||||
|
|
||||||
|
constraint {
|
||||||
|
attribute = "${attr.unique.hostname}"
|
||||||
|
value = "opti1"
|
||||||
|
}
|
||||||
|
|
||||||
|
update {
|
||||||
|
stagger = "10s"
|
||||||
|
max_parallel = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
group "jellyfin" {
|
||||||
|
count = 1
|
||||||
|
|
||||||
|
restart {
|
||||||
|
attempts = 5
|
||||||
|
interval = "1m"
|
||||||
|
delay = "10s"
|
||||||
|
mode = "delay"
|
||||||
|
}
|
||||||
|
task "jellyfin" {
|
||||||
|
driver = "docker"
|
||||||
|
|
||||||
|
config {
|
||||||
|
image = "linuxserver/jellyfin"
|
||||||
|
ports = ["jellyfin8096"]
|
||||||
|
// network_mode = "host"
|
||||||
|
volumes = [
|
||||||
|
"/mnt/Public/Downloads/tv/:/data/tv",
|
||||||
|
"/mnt/Public/Downloads/movies/:/data/movies",
|
||||||
|
"/mnt/configs/jellyfin:/config",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
service {
|
||||||
|
name = "${TASKGROUP}"
|
||||||
|
tags = ["jellyfin", "tools"]
|
||||||
|
port = "jellyfin8096"
|
||||||
|
|
||||||
|
// check {
|
||||||
|
// type = "http"
|
||||||
|
// // port = "jellyfin7878"
|
||||||
|
// path = "/api/v3/system/status?apikey=237c27f22504440385e5ee295fd65eb5"
|
||||||
|
// interval = "60s"
|
||||||
|
// timeout = "5s"
|
||||||
|
// // header {
|
||||||
|
// // Authorization = ["Basic ZWxhc3RpYzpjaGFuZ2VtZQ=="]
|
||||||
|
// // }
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
|
||||||
|
env {
|
||||||
|
TZ = "EST5EDT"
|
||||||
|
PUID = 1000
|
||||||
|
PGID = 1000
|
||||||
|
JELLYFIN_PublishedServerUrl = "http://jellyfin.service.dc1.consul:8096/"
|
||||||
|
}
|
||||||
|
|
||||||
|
resources {
|
||||||
|
cpu = 500 # 500 MHz
|
||||||
|
memory = 1024 # 128MB
|
||||||
|
|
||||||
|
// network {
|
||||||
|
// port "jellyfin" {
|
||||||
|
// static = "7878"
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
|
||||||
|
logs {
|
||||||
|
max_files = 10
|
||||||
|
max_file_size = 15
|
||||||
|
}
|
||||||
|
|
||||||
|
kill_timeout = "10s"
|
||||||
|
} #Task
|
||||||
|
|
||||||
|
network {
|
||||||
|
// mode = "bridge"
|
||||||
|
port "jellyfin8096" {
|
||||||
|
static = 8096
|
||||||
|
to = 8096
|
||||||
|
}
|
||||||
|
|
||||||
|
// port "jellyfin8920" {
|
||||||
|
// static = 8920
|
||||||
|
// to = 8920
|
||||||
|
// }
|
||||||
|
|
||||||
|
// port "jellyfin7359" {
|
||||||
|
// static = 7359
|
||||||
|
// to = 7359
|
||||||
|
// }
|
||||||
|
|
||||||
|
// port "jellyfin1900" {
|
||||||
|
// static = 1900
|
||||||
|
// to = 1900
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
} #Group
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user