Merge pull request 'qbit is host networked' (#171) from feature/qbit into main
Reviewed-on: #171
This commit was merged in pull request #171.
This commit is contained in:
@@ -17,7 +17,6 @@ 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
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -30,14 +29,18 @@ in
|
|||||||
};
|
};
|
||||||
volumes = [
|
volumes = [
|
||||||
"${qbit_path}/config:/config" # move from docker/qbit to qbit_path
|
"${qbit_path}/config:/config" # move from docker/qbit to qbit_path
|
||||||
"${data_path}/data/:/data"
|
"${torr_path}/data/:/data"
|
||||||
"/etc/localtime:/etc/localtime:ro"
|
"/etc/localtime:/etc/localtime:ro"
|
||||||
];
|
];
|
||||||
|
networks = [ "host" ];
|
||||||
ports = [
|
ports = [
|
||||||
"8082:8082"
|
"8082:8082"
|
||||||
"29432:29432"
|
"29432:29432"
|
||||||
"29432:29432/udp"
|
"29432:29432/udp"
|
||||||
];
|
];
|
||||||
|
extraOptions = [
|
||||||
|
"--dns=9.9.9.9"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
qbitVPN = qbitBase // {
|
qbitVPN = qbitBase // {
|
||||||
# webui port is 8081, torr port is 39274
|
# webui port is 8081, torr port is 39274
|
||||||
@@ -50,7 +53,7 @@ in
|
|||||||
dependsOn = [ "gluetun-qbit" ];
|
dependsOn = [ "gluetun-qbit" ];
|
||||||
volumes = [
|
volumes = [
|
||||||
"${qbitvpn_path}/config:/config"
|
"${qbitvpn_path}/config:/config"
|
||||||
"${data_path}/data:/data"
|
"${torr_path}/data:/data"
|
||||||
"/etc/localtime:/etc/localtime:ro"
|
"/etc/localtime:/etc/localtime:ro"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
@@ -65,7 +68,7 @@ in
|
|||||||
dependsOn = [ "gluetun-qbit" ];
|
dependsOn = [ "gluetun-qbit" ];
|
||||||
volumes = [
|
volumes = [
|
||||||
"${qbitperm_path}/config:/config"
|
"${qbitperm_path}/config:/config"
|
||||||
"${data_path}/data:/data"
|
"${torr_path}/data:/data"
|
||||||
"/etc/localtime:/etc/localtime:ro"
|
"/etc/localtime:/etc/localtime:ro"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -45,6 +45,14 @@
|
|||||||
8686
|
8686
|
||||||
8787
|
8787
|
||||||
5055
|
5055
|
||||||
|
|
||||||
|
# torr
|
||||||
|
29432
|
||||||
|
];
|
||||||
|
|
||||||
|
allowedUDPPorts = [
|
||||||
|
# torr
|
||||||
|
29432
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user