small changes to deluge 2
This commit is contained in:
@@ -40,6 +40,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.podman.enable = true;
|
virtualisation.podman.enable = true;
|
||||||
|
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
deluge = {
|
deluge = {
|
||||||
image = "linuxserver/deluge:latest";
|
image = "linuxserver/deluge:latest";
|
||||||
@@ -50,7 +51,6 @@ in {
|
|||||||
"6881:6881"
|
"6881:6881"
|
||||||
];
|
];
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--pull=newer"
|
|
||||||
"--network=container:gluetun"
|
"--network=container:gluetun"
|
||||||
];
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
@@ -71,14 +71,12 @@ in {
|
|||||||
image = "qmcgaw/gluetun";
|
image = "qmcgaw/gluetun";
|
||||||
ports = [
|
ports = [
|
||||||
"8388:8388"
|
"8388:8388"
|
||||||
# Deluge
|
|
||||||
"58846:58846"
|
"58846:58846"
|
||||||
"8112:8112"
|
"8112:8112"
|
||||||
];
|
];
|
||||||
devices = ["/dev/net/tun:/dev/net/tun"];
|
devices = ["/dev/net/tun:/dev/net/tun"];
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--pull=newer"
|
|
||||||
"--cap-add=NET_ADMIN"
|
"--cap-add=NET_ADMIN"
|
||||||
];
|
];
|
||||||
volumes = ["/var:/gluetun"];
|
volumes = ["/var:/gluetun"];
|
||||||
|
|||||||
Reference in New Issue
Block a user