Update containers to latest release
This commit is contained in:
parent
9f886e22d4
commit
5a16fd7360
10 changed files with 82 additions and 38 deletions
|
@ -1,13 +1,15 @@
|
|||
{ ... }:
|
||||
|
||||
let
|
||||
port = "8487";
|
||||
in
|
||||
{
|
||||
virtualisation.oci-containers.containers = {
|
||||
# # Open-source software alternative to µTorrent
|
||||
qbittorrent = {
|
||||
autoStart = true;
|
||||
image = "ghcr.io/hotio/qbittorrent:release-4.6.0";
|
||||
image = "ghcr.io/hotio/qbittorrent:release-4.6.5";
|
||||
ports = [
|
||||
"8080:8080/tcp" # WebUI
|
||||
"${port}:8080/tcp" # WebUI
|
||||
"32372:32372/tcp" # Transport protocol
|
||||
];
|
||||
volumes = [
|
||||
|
@ -15,6 +17,10 @@
|
|||
"/srv/multimedia/torrents:/data/torrents:rw"
|
||||
"/srv/containers/qbittorrent:/config:rw"
|
||||
];
|
||||
environment = {
|
||||
PUID = "1000";
|
||||
PGID = "100";
|
||||
};
|
||||
extraOptions = [
|
||||
"--network=media-stack"
|
||||
];
|
||||
|
@ -36,7 +42,7 @@
|
|||
|
||||
services.traefik.dynamicConfigOptions.http.services = {
|
||||
qbittorrent.loadBalancer.servers = [
|
||||
{ url = "http://127.0.0.1:8080"; }
|
||||
{ url = "http://127.0.0.1:${port}"; }
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue