Update containers to latest release

This commit is contained in:
♥ Minnie ♥ 2024-06-16 23:08:52 +08:00
parent 9f886e22d4
commit 5a16fd7360
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
10 changed files with 82 additions and 38 deletions

View file

@ -1,13 +1,15 @@
{ ... }:
let
port = "8686";
in
{
virtualisation.oci-containers.containers = {
# # Music collection manager for Usenet and BitTorrent users
lidarr = {
autoStart = true;
image = "ghcr.io/hotio/lidarr:nightly-2.0.2.3782";
image = "ghcr.io/hotio/lidarr:release-2.3.3.4204";
ports = [
"8686:8686/tcp" # WebUI
"${port}:8686/tcp" # WebUI
];
volumes = [
# Media library
@ -15,6 +17,10 @@
# Container data
"/srv/containers/lidarr:/config:rw"
];
environment = {
PUID = "1000";
PGID = "100";
};
extraOptions = [
"--network=media-stack"
];
@ -36,7 +42,7 @@
services.traefik.dynamicConfigOptions.http.services = {
lidarr.loadBalancer.servers = [
{ url = "http://127.0.0.1:8686"; }
{ url = "http://127.0.0.1:${port}"; }
];
};
}