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-02-08T02:15:37.027788+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T03:15:39.581351+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T04:15:42.924813+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T05:15:45.844645+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T06:15:48.606089+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T07:15:51.283395+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T08:15:54.503132+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T09:15:57.297171+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T10:16:00.307729+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T11:16:02.933253+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T12:16:05.885472+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T13:16:08.482640+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T14:16:11.255916+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T15:16:13.864865+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T16:16:16.595530+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T17:16:19.341472+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T18:16:21.934449+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T19:16:24.791765+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T20:16:27.851584+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T21:16:30.888066+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T22:16:34.364046+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T23:16:36.936179+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-09T00:16:39.529777+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-09T01:16:42.274929+00:00"}
|
||||
@@ -1 +1 @@
|
||||
{"hostname":"45411fdf596d","advertise-url":"http://192.168.4.227:8081"}
|
||||
{"hostname":"189b3dd5e53b","advertise-url":"http://192.168.4.228:20202"}
|
||||
@@ -8,7 +8,7 @@ job "navidrome-litefs" {
|
||||
}
|
||||
|
||||
group "navidrome" {
|
||||
count = 2
|
||||
count = 4
|
||||
|
||||
update {
|
||||
max_parallel = 1
|
||||
@@ -31,10 +31,6 @@ job "navidrome-litefs" {
|
||||
static = 20202
|
||||
to = 20202 # Maps host 20202 to container 20202 (LiteFS Replication)
|
||||
}
|
||||
port "health" {
|
||||
static = 8082
|
||||
to = 8082 # Handled by nc loop in litefs.yml exec
|
||||
}
|
||||
}
|
||||
|
||||
task "navidrome" {
|
||||
@@ -43,7 +39,8 @@ job "navidrome-litefs" {
|
||||
config {
|
||||
image = "gitea.service.dc1.fbleagh.duckdns.org/sstent/navidrome-litefs:latest"
|
||||
privileged = true # Still needed for FUSE
|
||||
ports = ["http", "litefs", "health"]
|
||||
ports = ["http", "litefs"]
|
||||
force_pull = true
|
||||
|
||||
volumes = [
|
||||
"/mnt/configs/navidrome_litefs:/var/lib/litefs",
|
||||
@@ -58,46 +55,26 @@ job "navidrome-litefs" {
|
||||
# LiteFS Config
|
||||
CONSUL_URL = "http://${attr.unique.network.ip-address}:8500"
|
||||
ADVERTISE_IP = "${attr.unique.network.ip-address}"
|
||||
PORT = "8080" # Internal proxy port (unused by direct routing but kept for image compat)
|
||||
PORT = "8080" # Internal proxy port (unused but kept)
|
||||
|
||||
# Navidrome Config
|
||||
ND_DATAFOLDER = "/local/data"
|
||||
ND_CACHEFOLDER = "/shared_data/cache"
|
||||
ND_CONFIGFILE = "/local/data/navidrome.toml"
|
||||
ND_DATAFOLDER = "/local/data"
|
||||
ND_CACHEFOLDER = "/shared_data/cache"
|
||||
ND_BACKUP_PATH = "/shared_data/backup"
|
||||
ND_CONFIGFILE = "/local/data/navidrome.toml"
|
||||
|
||||
# Database is on the LiteFS FUSE mount
|
||||
ND_DBPATH = "/data/navidrome.db?_busy_timeout=30000&_journal_mode=WAL&_foreign_keys=on&synchronous=NORMAL"
|
||||
# Database is on the LiteFS FUSE mount. Forced v35.
|
||||
ND_DATABASE_PATH = "/data/navidrome.db"
|
||||
|
||||
ND_SCANSCHEDULE = "0"
|
||||
ND_SCANNER_FSWATCHER_ENABLED = "false"
|
||||
ND_FORCE_REDEPLOY = "3"
|
||||
ND_LOGLEVEL = "info"
|
||||
ND_REVERSEPROXYWHITELIST = "0.0.0.0/0"
|
||||
ND_REVERSEPROXYUSERHEADER = "X-Forwarded-User"
|
||||
}
|
||||
|
||||
service {
|
||||
name = "navidrome"
|
||||
tags = [
|
||||
"navidrome",
|
||||
"web",
|
||||
"traefik.enable=true",
|
||||
"urlprefix-/navidrome",
|
||||
"tools",
|
||||
"traefik.http.routers.navidromelan.rule=Host(`navidrome.service.dc1.consul`)",
|
||||
"traefik.http.routers.navidromewan.rule=Host(`m.fbleagh.duckdns.org`)",
|
||||
"traefik.http.routers.navidromewan.middlewares=dex@consulcatalog",
|
||||
"traefik.http.routers.navidromewan.tls=true",
|
||||
]
|
||||
port = "http"
|
||||
|
||||
check {
|
||||
type = "http"
|
||||
port = "health"
|
||||
path = "/"
|
||||
interval = "10s"
|
||||
timeout = "2s"
|
||||
}
|
||||
}
|
||||
# NO service block here! Managed by register.sh inside the container.
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
|
||||
Reference in New Issue
Block a user