158 lines
No EOL
3.3 KiB
Nix
158 lines
No EOL
3.3 KiB
Nix
let
|
|
wg = "torrent-wireguard";
|
|
in {
|
|
${wg} = {
|
|
image = "lscr.io/linuxserver/wireguard:latest";
|
|
capabilities = {
|
|
NET_ADMIN = true;
|
|
SYS_MODULE = true;
|
|
};
|
|
ports = [
|
|
"5000:5000"
|
|
"8080:8080"
|
|
"9696:9696"
|
|
"7878:7878"
|
|
"7979:8989"
|
|
"8787:8787" #optional
|
|
];
|
|
environment = {
|
|
PUID = "1000";
|
|
PGID = "1000";
|
|
TZ = "America/Chicago";
|
|
LOG_CONFS = "true";
|
|
};
|
|
extraOptions = [
|
|
"--sysctl" "net.ipv4.conf.all.src_valid_mark=1"
|
|
|
|
];
|
|
volumes = [
|
|
"/Velaris/Docker/torrents/wg:/config"
|
|
"/lib/modules:/lib/modules"
|
|
];
|
|
};
|
|
"qbittorrent" = {
|
|
image = "lscr.io/linuxserver/qbittorrent:latest";
|
|
environment = {
|
|
PUID = "1000";
|
|
PGID = "1000";
|
|
TZ = "America/Chicago";
|
|
WEBUI_PORT = "8080";
|
|
};
|
|
extraOptions = [
|
|
"--network" "container:${wg}"
|
|
];
|
|
volumes = [
|
|
"/Velaris/Docker/torrents/qbit/config:/config"
|
|
"/Velaris/Media/Downloads:/downloads"
|
|
];
|
|
dependsOn = [
|
|
wg
|
|
];
|
|
};
|
|
"prowlarr" = {
|
|
image = "lscr.io/linuxserver/prowlarr:latest";
|
|
environment = {
|
|
PUID = "1000";
|
|
PGID = "1000";
|
|
TZ = "America/Chicago";
|
|
};
|
|
extraOptions = [
|
|
"--network" "container:${wg}"
|
|
];
|
|
volumes = [
|
|
"/Velaris/Docker/torrents/prowlarr/config:/config"
|
|
];
|
|
dependsOn = [
|
|
wg
|
|
];
|
|
};
|
|
"radarr" = {
|
|
image = "lscr.io/linuxserver/radarr:latest";
|
|
environment = {
|
|
PUID = "1000";
|
|
PGID = "1000";
|
|
TZ = "America/Chicago";
|
|
};
|
|
extraOptions = [
|
|
"--network" "container:${wg}"
|
|
];
|
|
volumes = [
|
|
"/Velaris/Docker/torrents/radarr/config:/config"
|
|
"/Velaris/Media/Movies:/movies"
|
|
"/Velaris/Media/Downloads:/downloads"
|
|
];
|
|
dependsOn = [
|
|
wg
|
|
];
|
|
};
|
|
"sonarr" = {
|
|
image = "lscr.io/linuxserver/sonarr:latest";
|
|
environment = {
|
|
PUID = "1000";
|
|
PGID = "1000";
|
|
TZ = "America/Chicago";
|
|
};
|
|
extraOptions = [
|
|
"--network" "container:${wg}"
|
|
];
|
|
volumes = [
|
|
"/Velaris/Docker/torrents/sonarr/config:/config"
|
|
"/Velaris/Media/TV:/tv"
|
|
"/Velaris/Media/Downloads:/downloads"
|
|
];
|
|
dependsOn = [
|
|
wg
|
|
];
|
|
};
|
|
"readarr" = {
|
|
image = "lscr.io/linuxserver/readarr:0.4.19-nightly";
|
|
environment = {
|
|
PUID = "1000";
|
|
PGID = "1000";
|
|
TZ = "America/Chicago";
|
|
};
|
|
extraOptions = [
|
|
"--network" "container:${wg}"
|
|
];
|
|
volumes = [
|
|
"/Velaris/Docker/torrents/readarr/config:/config"
|
|
"/Velaris/Media/Books:/books"
|
|
"/Velaris/Media/Downloads:/downloads"
|
|
];
|
|
dependsOn = [
|
|
wg
|
|
];
|
|
};
|
|
"flaresolverr" = {
|
|
image = "ghcr.io/flaresolverr/flaresolverr:latest";
|
|
environment = {
|
|
LOG_LEVEL = "debug";
|
|
TZ = "America/Chicago";
|
|
};
|
|
extraOptions = [
|
|
"--network" "container:${wg}"
|
|
];
|
|
dependsOn = [
|
|
wg
|
|
];
|
|
};
|
|
"anonupdater" = {
|
|
image = "ubuntu:latest";
|
|
environment = {
|
|
PUID = "1000";
|
|
PGID = "1000";
|
|
TZ = "America/Chicago";
|
|
};
|
|
cmd = [ "bash" "-c" "/anon/entrypoint.sh; tail -f /dev/null" ];
|
|
extraOptions = [
|
|
"--network" "container:${wg}"
|
|
];
|
|
volumes = [
|
|
"/Velaris/Docker/torrents/anon:/anon"
|
|
"/Velaris/Media/Downloads:/downloads"
|
|
];
|
|
dependsOn = [
|
|
wg
|
|
];
|
|
};
|
|
} |