chore: backup infrastructure configurations [skip ci]

This commit is contained in:
github-actions[bot]
2026-02-04 02:02:47 +00:00
parent e231f18f08
commit 7e55c8f58b
32 changed files with 132 additions and 48 deletions

View File

@@ -16,7 +16,9 @@ job "navidrome" {
source = "navidrome-volume" # This must match the 'id' in your volume registration
attachment_mode = "file-system"
access_mode = "multi-node-multi-writer"
}
}
# Main Navidrome task
task "navidrome" {
@@ -24,7 +26,7 @@ job "navidrome" {
volume_mount {
volume = "navidrome-csi-vol" # Matches the name in the volume block above
destination = "/data" # Where it appears inside the container
destination = "/db" # Where it appears inside the container
read_only = false
}
@@ -37,16 +39,19 @@ job "navidrome" {
"/mnt/Public/Downloads/Clean_Music:/music/CleanMusic:ro",
"/mnt/Public/Downloads/news/slskd/downloads:/music/slskd:ro",
"/mnt/Public/Downloads/incoming_music:/music/incomingmusic:ro",
#"/mnt/configs/navidrome:/data"
"/mnt/Public/configs/navidrome/cache:/data/cache",
"/mnt/Public/configs/navidrome/backups:/data/backups"
]
}
env {
ND_DATAFOLDER = "/db"
ND_CACHEFOLDER = "/data/cache"
ND_SCANSCHEDULE = "32 8-20 * * *"
ND_LOGLEVEL = "debug"
ND_REVERSEPROXYWHITELIST = "0.0.0.0/0"
ND_REVERSEPROXYUSERHEADER = "X-Forwarded-User"
ND_SCANNER_GROUPALBUMRELEASES = "False"
ND_BACKUP_PATH = "/data"
ND_BACKUP_PATH = "/data/backups"
ND_BACKUP_SCHEDULE = "0 0 * * *"
ND_BACKUP_COUNT = "7"
}