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 = "7878";
in
{
virtualisation.oci-containers.containers = {
# Movie collection manager for Usenet and BitTorrent users
radarr = {
autoStart = true;
image = "ghcr.io/hotio/radarr:nightly-5.1.3.8237";
image = "ghcr.io/hotio/radarr:release-5.6.0.8846";
ports = [
"7878:7878/tcp" # WebUI
"${port}:7878/tcp" # WebUI
];
volumes = [
# Media library
@ -15,6 +17,10 @@
# Container data
"/srv/containers/radarr:/config:rw"
];
environment = {
PUID = "1000";
PGID = "100";
};
extraOptions = [
"--network=media-stack"
];
@ -35,7 +41,7 @@
services.traefik.dynamicConfigOptions.http.services = {
radarr.loadBalancer.servers = [
{ url = "http://127.0.0.1:7878"; }
{ url = "http://127.0.0.1:${port}"; }
];
};
}