Merge pull request 'qbit is host networked' (#171) from feature/qbit into main
Some checks failed
Check flake.lock / Check health of `flake.lock` (push) Successful in 13s
Check Nix flake / Perform Nix flake checks (push) Successful in 3m49s
Update flakes / update_lockfile (push) Failing after 10m49s

Reviewed-on: #171
This commit was merged in pull request #171.
This commit is contained in:
2026-01-08 16:34:10 -05:00
2 changed files with 15 additions and 4 deletions

View File

@@ -17,7 +17,6 @@ let
qbit_path = "${torr_path}/qbit";
qbitvpn_path = "${torr_path}/qbitvpn";
qbitperm_path = "${torr_path}/qbitperm";
data_path = "${torr_path}/data";
in
{
@@ -30,14 +29,18 @@ in
};
volumes = [
"${qbit_path}/config:/config" # move from docker/qbit to qbit_path
"${data_path}/data/:/data"
"${torr_path}/data/:/data"
"/etc/localtime:/etc/localtime:ro"
];
networks = [ "host" ];
ports = [
"8082:8082"
"29432:29432"
"29432:29432/udp"
];
extraOptions = [
"--dns=9.9.9.9"
];
};
qbitVPN = qbitBase // {
# webui port is 8081, torr port is 39274
@@ -50,7 +53,7 @@ in
dependsOn = [ "gluetun-qbit" ];
volumes = [
"${qbitvpn_path}/config:/config"
"${data_path}/data:/data"
"${torr_path}/data:/data"
"/etc/localtime:/etc/localtime:ro"
];
};
@@ -65,7 +68,7 @@ in
dependsOn = [ "gluetun-qbit" ];
volumes = [
"${qbitperm_path}/config:/config"
"${data_path}/data:/data"
"${torr_path}/data:/data"
"/etc/localtime:/etc/localtime:ro"
];
};

View File

@@ -45,6 +45,14 @@
8686
8787
5055
# torr
29432
];
allowedUDPPorts = [
# torr
29432
];
};