fix ports
This commit is contained in:
@@ -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"
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user