remove docker containers

This commit is contained in:
♥ Minnie ♥ 2023-11-05 13:59:27 +00:00
parent 49682e87d1
commit db7a9b7d5d
11 changed files with 0 additions and 193 deletions

View file

@ -1,21 +0,0 @@
{ ... }:
{
# Import our containers.
imports = [
./homepage
./pihole
./sonarr
./radarr
./prowlarr
./recyclarr
./qbittorrent
./minecraft
./jellyfin
./traefik
];
# Set docker as container implementation.
virtualisation.oci-containers.backend = "docker";
}

View file

@ -1,15 +0,0 @@
{ ... }:
{
# Homepage
virtualisation.oci-containers.containers."homepage" = {
autoStart = true;
image = "ghcr.io/benphelps/homepage:latest";
volumes = [
"/srv/containers/homepage:/app/config"
"/srv/data:/srv/data:ro"
"/var/run/docker.sock:/var/run/docker.sock" # pass local proxy
];
extraOptions = ["--network=host"];
};
}

View file

@ -1,19 +0,0 @@
{ ... }:
{
# Jellyfin
virtualisation.oci-containers.containers."jellyfin" = {
autoStart = true;
image = "jellyfin/jellyfin";
volumes = [
"/srv/containers/jellyfin/config:/config"
"/srv/containers/jellyfin/cache:/cache"
"/srv/data/media:/media"
];
extraOptions = [
"--group-add=303"
"--device=/dev/dri/renderD128:/dev/dri/renderD128"
"--network=host"
];
};
}

View file

@ -1,18 +0,0 @@
{ ... }:
{
# Minecraft
virtualisation.oci-containers.containers."minecraft" = {
image = "itzg/minecraft-server";
ports = [
"25565:25565"
];
volumes = [
"/srv/containers/minecraft:/data"
];
environment = {
EULA = "TRUE";
};
autoStart = true;
};
}

View file

@ -1,24 +0,0 @@
{ ... }:
{
# Pi-hole
virtualisation.oci-containers.containers."pihole" = {
autoStart = true;
image = "pihole/pihole:latest";
volumes = [
"/srv/containers/pihole/etc-pihole:/etc/pihole"
"/srv/containers/pihole/etc-dnsmasq.d:/etc/dnsmasq.d"
"/srv/containers/pihole/secrets:/secrets"
];
ports = [
"192.168.1.102:53:53/tcp" # pihole-FTL (DNS)
"192.168.1.102:53:53/udp" # pihole-FTL (DNS)
"192.168.1.102:8181:80/tcp" # lighttpd (HTTP)
];
environment = {
WEBPASSWORD_FILE = "/secrets/admin-password";
DNSMASQ_LISTENING = "all";
};
};
}

View file

@ -1,15 +0,0 @@
{ ... }:
{
# Prowlarr
virtualisation.oci-containers.containers."prowlarr" = {
autoStart = true;
image = "cr.hotio.dev/hotio/prowlarr";
volumes = [
"/srv/containers/prowlarr:/config"
"/srv/data:/data"
];
ports = [ "9696:9696" ];
extraOptions = ["--network=media-stack"];
};
}

View file

@ -1,18 +0,0 @@
{ ... }:
{
# Qbittorrent
virtualisation.oci-containers.containers."qbittorrent" = {
autoStart = true;
image = "cr.hotio.dev/hotio/qbittorrent:release";
volumes = [
"/srv/containers/qbittorrent:/config"
"/srv/data/torrents:/data/torrents"
];
ports = [
"8383:8080"
"32372:32372"
];
extraOptions = ["--network=media-stack"];
};
}

View file

@ -1,15 +0,0 @@
{ ... }:
{
# Radarr
virtualisation.oci-containers.containers."radarr" = {
autoStart = true;
image = "cr.hotio.dev/hotio/radarr";
volumes = [
"/srv/containers/radarr:/config"
"/srv/data:/data"
];
ports = [ "7878:7878" ];
extraOptions = ["--network=media-stack"];
};
}

View file

@ -1,13 +0,0 @@
{ ... }:
{
# Recyclarr
virtualisation.oci-containers.containers."recyclarr" = {
autoStart = true;
image = "ghcr.io/recyclarr/recyclarr:latest";
volumes = [
"/srv/containers/recyclarr:/config"
];
extraOptions = ["--network=media-stack"];
};
}

View file

@ -1,15 +0,0 @@
{ ... }:
{
# Sonarr
virtualisation.oci-containers.containers."sonarr" = {
autoStart = true;
image = "cr.hotio.dev/hotio/sonarr:v4";
volumes = [
"/srv/containers/sonarr:/config"
"/srv/data:/data"
];
ports = [ "8989:8989" ];
extraOptions = ["--network=media-stack"];
};
}

View file

@ -1,20 +0,0 @@
{ ... }:
{
# Traefik
virtualisation.oci-containers.containers."traefik" = {
autoStart = true;
image = "traefik:v2.10";
volumes = [
"/srv/containers/traefik/traefik.yaml:/etc/traefik/traefik.yaml"
"/srv/containers/traefik/config:/config"
"/srv/containers/traefik/letsencrypt:/letsencrypt"
"/srv/containers/traefik/secrets:/secrets"
];
environment = {
CF_API_EMAIL_FILE = "/secrets/cf-api-email";
CF_API_KEY_FILE = "/secrets/cf-api-key";
};
extraOptions = ["--network=host"];
};
}