add navidrome

This commit is contained in:
Yan Lin 2025-11-22 10:03:58 +01:00
parent 7a8839d17a
commit f4b4a80f09
2 changed files with 51 additions and 0 deletions

View file

@ -230,5 +230,35 @@ in
autoStart = true;
};
# Navidrome music server
navidrome = {
image = "docker.io/deluan/navidrome:latest";
volumes = [
"/var/lib/containers/config/navidrome:/data"
"/mnt/storage/Media/music:/music:ro"
];
environment = {
PUID = commonUID;
PGID = commonGID;
TZ = systemTZ;
ND_MUSICFOLDER = "/music";
ND_DATAFOLDER = "/data";
ND_LOGLEVEL = "info";
ND_SCANNER_SCHEDULE = "@every 6h";
};
ports = [
"5005:4533"
];
extraOptions = [
"--network=podman"
];
autoStart = true;
};
};
}