add ffdl, foundry, haproxy, glances, and zfs vars
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
@ -15,13 +15,17 @@ let
|
||||
};
|
||||
extraOptions = [ "--restart=unless-stopped" ];
|
||||
};
|
||||
|
||||
vars = import ../vars.nix;
|
||||
docker_path = vars.primary_docker;
|
||||
torr_path = vars.primary_torr;
|
||||
in
|
||||
{
|
||||
virtualisation.oci-containers.containers = {
|
||||
deluge = delugeBase // {
|
||||
volumes = [
|
||||
"/ZFS/ZFS-primary/docker/Qbit:/config"
|
||||
"/ZFS/ZFS-primary/torr/Qbit/:/data"
|
||||
"${docker_path}/Qbit:/config"
|
||||
"${torr_path}/Qbit/:/data"
|
||||
"/etc/localtime:/etc/localtime:ro"
|
||||
];
|
||||
ports = [
|
||||
@ -47,8 +51,8 @@ in
|
||||
|
||||
};
|
||||
volumes = [
|
||||
"/ZFS/ZFS-primary/docker/QbitVPN:/config"
|
||||
"/ZFS/ZFS-primary/torr/QbitVPN/:/data"
|
||||
"${docker_path}/QbitVPN:/config"
|
||||
"${torr_path}/QbitVPN/:/data"
|
||||
"/etc/localtime:/etc/localtime:ro"
|
||||
];
|
||||
ports = [
|
||||
@ -63,7 +67,7 @@ in
|
||||
sops.secrets = {
|
||||
"docker/deluge" = {
|
||||
owner = "docker-service";
|
||||
path = "/ZFS/ZFS-primary/docker/QbitVPN/wireguard/wg0.conf";
|
||||
path = "${docker_path}/QbitVPN/wireguard/wg0.conf";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user