hotio qbt
This commit is contained in:
@@ -49,7 +49,7 @@ in {
|
|||||||
|
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
qbittorrent = {
|
qbittorrent = {
|
||||||
image = "linuxserver/qbittorrent:latest";
|
image = "ghcr.io/hotio/qbittorrent:latest";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
dependsOn = ["gluetun"];
|
dependsOn = ["gluetun"];
|
||||||
ports = [
|
ports = [
|
||||||
@@ -60,15 +60,15 @@ in {
|
|||||||
"--network=container:gluetun"
|
"--network=container:gluetun"
|
||||||
];
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
"config:/var/lib/qbittorrent"
|
"/var/lib/qbittorrent:/config:rw"
|
||||||
"downloads:/share/downloads"
|
"/share/downloads:/downloads:rw"
|
||||||
];
|
];
|
||||||
environmentFiles = [
|
environmentFiles = [
|
||||||
config.age.secrets.gluetunEnv.path
|
config.age.secrets.gluetunEnv.path
|
||||||
];
|
];
|
||||||
environment = {
|
environment = {
|
||||||
PUID = toString uid;
|
# PUID = toString uid;
|
||||||
PGID = toString gid;
|
# PGID = toString gid;
|
||||||
TZ = "Europe/Stockholm";
|
TZ = "Europe/Stockholm";
|
||||||
WEBUI_PORT = "${builtins.toString cfg.port}";
|
WEBUI_PORT = "${builtins.toString cfg.port}";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user