100 lines
2.5 KiB
Nix
Raw Normal View History

2024-06-21 22:09:30 -04:00
{ config, ... }:
2024-05-27 15:34:00 -04:00
{
virtualisation.oci-containers.containers = {
qbit = {
image = "ghcr.io/linuxserver/qbittorrent";
ports = [
"6881:6881"
"6881:6881/udp"
"8082:8082"
"29432:29432"
];
volumes = [
"/zfs/media/docker/configs/qbit:/config"
2024-06-20 21:53:44 -04:00
"/zfs/torrenting/qbit/:/data"
2024-05-27 15:34:00 -04:00
];
environment = {
2024-06-21 22:09:30 -04:00
PUID = "600";
2024-05-27 15:34:00 -04:00
PGID = "100";
TZ = "America/New_York";
WEBUI_PORT = "8082";
};
autoStart = true;
};
qbitvpn = {
image = "binhex/arch-qbittorrentvpn";
2024-06-21 22:43:26 -04:00
extraOptions = [ "--cap-add=NET_ADMIN" ];
2024-05-27 15:34:00 -04:00
ports = [
"6882:6881"
"6882:6881/udp"
"8081:8081"
"8118:8118"
];
volumes = [
"/zfs/media/docker/configs/qbitvpn:/config"
2024-06-20 21:53:44 -04:00
"/zfs/torrenting/qbitvpn/:/data"
2024-05-27 15:34:00 -04:00
"/etc/localtime:/etc/localtime:ro"
];
environment = {
WEBUI_PORT = "8081";
2024-06-21 22:09:30 -04:00
PUID = "600";
2024-05-27 15:34:00 -04:00
PGID = "100";
VPN_ENABLED = "yes";
VPN_CLIENT = "openvpn";
STRICT_PORT_FORWARD = "yes";
ENABLE_PRIVOXY = "yes";
LAN_NETWORK = "192.168.90.0/24";
NAME_SERVERS = "192.168.90.0";
UMASK = "000";
DEBUG = "false";
DELUGE_DAEMON_LOG_LEVEL = "debug";
DELUGE_WEB_LOG_LEVEL = "debug";
};
2024-06-21 22:38:02 -04:00
environmentFiles = [ config.sops.secrets."docker/qbit_vpn".path ];
2024-05-27 15:55:21 -04:00
autoStart = true;
2024-05-27 15:34:00 -04:00
};
prowlarr = {
image = "ghcr.io/linuxserver/prowlarr";
environment = {
2024-06-21 22:09:30 -04:00
PUID = "600";
2024-05-27 15:34:00 -04:00
PGID = "100";
TZ = "America/New_York";
};
volumes = [ "/zfs/media/docker/configs/prowlarr:/config" ];
2024-05-27 15:34:00 -04:00
autoStart = true;
};
radarr = {
image = "ghcr.io/linuxserver/radarr";
environment = {
2024-06-21 22:09:30 -04:00
PUID = "600";
2024-05-27 15:34:00 -04:00
PGID = "100";
TZ = "America/New_York";
};
volumes = [
"/zfs/media/docker/configs/radarr:/config"
2024-06-21 20:36:31 -04:00
"/zfs/storage/plex/movies:/movies"
2024-06-20 21:53:44 -04:00
"/zfs/torrenting/qbitvpn:/data"
2024-05-27 15:34:00 -04:00
];
autoStart = true;
};
sonarr = {
image = "ghcr.io/linuxserver/sonarr";
environment = {
2024-06-21 22:09:30 -04:00
PUID = "600";
2024-05-27 15:34:00 -04:00
PGID = "100";
TZ = "America/New_York";
};
volumes = [
"/zfs/media/docker/configs/sonarr:/config"
2024-06-21 20:36:31 -04:00
"/zfs/storage/plex/tv:/tv"
2024-06-20 21:53:44 -04:00
"/zfs/torrenting/qbitvpn:/data"
2024-05-27 15:34:00 -04:00
];
autoStart = true;
};
};
2024-06-21 22:09:30 -04:00
sops = {
defaultSopsFile = ../secrets.yaml;
secrets."docker/qbit_vpn".owner = "docker-service";
};
2024-05-27 15:34:00 -04:00
}