fix ports

This commit is contained in:
2026-01-07 23:20:51 -05:00
parent d247c38cb1
commit 158bfad61c

View File

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