fix ports
All checks were successful
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 49s
Check Nix flake / Perform Nix flake checks (pull_request) Successful in 6m21s

This commit is contained in:
2026-01-07 23:20:51 -05:00
parent 5bea28aede
commit f5e7ee82ad

View File

@@ -17,6 +17,7 @@ let
qbit_path = "${torr_path}/qbit";
qbitvpn_path = "${torr_path}/qbitvpn";
qbitperm_path = "${torr_path}/qbitperm";
data_path = "${torr_path}/data";
in
{
@@ -25,15 +26,17 @@ in
# webui port is 8082, torr port is 29432
environment = qbitBase.environment // {
WEBUI_PORT = "8082";
TORRENTING_PORT = "29432";
};
volumes = [
"${qbit_path}/config:/config" # move from docker/qbit to qbit_path
"${qbit_path}/data/:/data"
"${data_path}/data/:/data"
"/etc/localtime:/etc/localtime:ro"
];
ports = [
"8082:8082"
"29432:29432"
"29432:29432/udp"
];
};
qbitVPN = qbitBase // {
@@ -47,7 +50,7 @@ in
dependsOn = [ "gluetun-qbit" ];
volumes = [
"${qbitvpn_path}/config:/config"
"${qbit_path}/data:/data"
"${data_path}/data:/data"
"/etc/localtime:/etc/localtime:ro"
];
};
@@ -62,7 +65,7 @@ in
dependsOn = [ "gluetun-qbit" ];
volumes = [
"${qbitperm_path}/config:/config"
"${qbit_path}/data:/data"
"${data_path}/data:/data"
"/etc/localtime:/etc/localtime:ro"
];
};