From 7b6fa6eded7216049dd3f0b029506fc5541268e5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 20 Apr 2026 02:04:57 +0000 Subject: [PATCH] chore: backup infrastructure configurations [skip ci] --- .../logs/2026-04-19T02:50:02.299808+00:00 | 1 + .../logs/2026-04-19T03:50:02.573654+00:00 | 1 + .../logs/2026-04-19T04:50:02.838936+00:00 | 1 + .../logs/2026-04-19T05:50:03.060397+00:00 | 1 + .../logs/2026-04-19T06:50:03.288738+00:00 | 1 + .../logs/2026-04-19T07:50:03.511754+00:00 | 1 + .../logs/2026-04-19T08:50:03.732740+00:00 | 1 + .../logs/2026-04-19T09:50:03.974092+00:00 | 1 + .../logs/2026-04-19T10:50:04.225577+00:00 | 1 + .../logs/2026-04-19T11:50:04.471247+00:00 | 1 + .../logs/2026-04-19T12:50:04.686933+00:00 | 1 + .../logs/2026-04-19T13:50:04.913452+00:00 | 1 + .../logs/2026-04-19T14:50:05.145627+00:00 | 1 + .../logs/2026-04-19T15:50:05.378909+00:00 | 1 + .../logs/2026-04-19T16:50:05.596794+00:00 | 1 + .../logs/2026-04-19T17:50:05.827380+00:00 | 1 + .../logs/2026-04-19T18:50:06.067285+00:00 | 1 + .../logs/2026-04-19T19:50:06.286843+00:00 | 1 + .../logs/2026-04-19T20:50:06.548043+00:00 | 1 + .../logs/2026-04-19T21:50:06.787890+00:00 | 1 + .../logs/2026-04-19T22:50:07.005794+00:00 | 1 + .../logs/2026-04-19T23:50:07.222397+00:00 | 1 + .../logs/2026-04-20T00:50:07.502538+00:00 | 1 + .../logs/2026-04-20T01:50:07.720355+00:00 | 1 + nomad_backup/jellyfin.hcl | 111 ++++++++++++++++++ 25 files changed, 135 insertions(+) create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T02:50:02.299808+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T03:50:02.573654+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T04:50:02.838936+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T05:50:03.060397+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T06:50:03.288738+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T07:50:03.511754+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T08:50:03.732740+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T09:50:03.974092+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T10:50:04.225577+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T11:50:04.471247+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T12:50:04.686933+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T13:50:04.913452+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T14:50:05.145627+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T15:50:05.378909+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T16:50:05.596794+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T17:50:05.827380+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T18:50:06.067285+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T19:50:06.286843+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T20:50:06.548043+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T21:50:06.787890+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T22:50:07.005794+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-19T23:50:07.222397+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-20T00:50:07.502538+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-04-20T01:50:07.720355+00:00 create mode 100644 nomad_backup/jellyfin.hcl diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T02:50:02.299808+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T02:50:02.299808+00:00 new file mode 100644 index 0000000..180a95b --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T02:50:02.299808+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T03:50:02.573654+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T03:50:02.573654+00:00 new file mode 100644 index 0000000..1ce213f --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T03:50:02.573654+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T04:50:02.838936+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T04:50:02.838936+00:00 new file mode 100644 index 0000000..25f5e3f --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T04:50:02.838936+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T05:50:03.060397+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T05:50:03.060397+00:00 new file mode 100644 index 0000000..28645fb --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T05:50:03.060397+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T06:50:03.288738+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T06:50:03.288738+00:00 new file mode 100644 index 0000000..b10a28f --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T06:50:03.288738+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T07:50:03.511754+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T07:50:03.511754+00:00 new file mode 100644 index 0000000..00ef4af --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T07:50:03.511754+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T08:50:03.732740+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T08:50:03.732740+00:00 new file mode 100644 index 0000000..aae31be --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T08:50:03.732740+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T09:50:03.974092+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T09:50:03.974092+00:00 new file mode 100644 index 0000000..99e0bbe --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T09:50:03.974092+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T10:50:04.225577+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T10:50:04.225577+00:00 new file mode 100644 index 0000000..31da5e0 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T10:50:04.225577+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T11:50:04.471247+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T11:50:04.471247+00:00 new file mode 100644 index 0000000..401b34e --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T11:50:04.471247+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T12:50:04.686933+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T12:50:04.686933+00:00 new file mode 100644 index 0000000..926b2a2 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T12:50:04.686933+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T13:50:04.913452+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T13:50:04.913452+00:00 new file mode 100644 index 0000000..e7ba2d0 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T13:50:04.913452+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T14:50:05.145627+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T14:50:05.145627+00:00 new file mode 100644 index 0000000..7fa01ea --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T14:50:05.145627+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T15:50:05.378909+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T15:50:05.378909+00:00 new file mode 100644 index 0000000..ab5af09 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T15:50:05.378909+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T16:50:05.596794+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T16:50:05.596794+00:00 new file mode 100644 index 0000000..65c88f9 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T16:50:05.596794+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T17:50:05.827380+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T17:50:05.827380+00:00 new file mode 100644 index 0000000..9375fa7 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T17:50:05.827380+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T18:50:06.067285+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T18:50:06.067285+00:00 new file mode 100644 index 0000000..aa26df5 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T18:50:06.067285+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T19:50:06.286843+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T19:50:06.286843+00:00 new file mode 100644 index 0000000..932dc05 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T19:50:06.286843+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T20:50:06.548043+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T20:50:06.548043+00:00 new file mode 100644 index 0000000..7ac0d37 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T20:50:06.548043+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T21:50:06.787890+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T21:50:06.787890+00:00 new file mode 100644 index 0000000..50c6050 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T21:50:06.787890+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T22:50:07.005794+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T22:50:07.005794+00:00 new file mode 100644 index 0000000..fef02f2 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T22:50:07.005794+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-19T23:50:07.222397+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-19T23:50:07.222397+00:00 new file mode 100644 index 0000000..caa9408 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-19T23:50:07.222397+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-20T00:50:07.502538+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-20T00:50:07.502538+00:00 new file mode 100644 index 0000000..a4ee381 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/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-20T00:50:07.502538+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-04-20T01:50:07.720355+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-04-20T01:50:07.720355+00:00 new file mode 100644 index 0000000..832ae07 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-04-20T01:50:07.720355+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"} \ No newline at end of file diff --git a/nomad_backup/jellyfin.hcl b/nomad_backup/jellyfin.hcl new file mode 100644 index 0000000..7b2daf5 --- /dev/null +++ b/nomad_backup/jellyfin.hcl @@ -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 +}