feat(config): Correct storage paths in Nomad job to use LiteFS and shared mounts

This commit is contained in:
2026-02-08 13:58:26 -08:00
parent c9bf1410c9
commit 5cbb657c45

View File

@@ -8,7 +8,7 @@ job "navidrome-litefs" {
}
group "navidrome" {
count = 2
count = 4
update {
max_parallel = 1
@@ -57,11 +57,12 @@ job "navidrome-litefs" {
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 = "/data"
ND_CACHEFOLDER = "/shared_data/cache"
ND_BACKUP_PATH = "/shared_data/backup"
ND_CONFIGFILE = "/data/navidrome.toml"
# Database is on the LiteFS FUSE mount
# Database is on the LiteFS FUSE mount. Optimized for SQLite.
ND_DBPATH = "/data/navidrome.db?_busy_timeout=30000&_journal_mode=WAL&_foreign_keys=on&synchronous=NORMAL"
ND_SCANSCHEDULE = "0"