setup media server containers

This commit is contained in:
♥ Minnie ♥ 2023-05-16 14:08:07 +08:00
parent 0243be74c8
commit 93d656baf5
6 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{ ... }:
{
# Homepage
virtualisation.oci-containers.containers."homepage" = {
autoStart = true;
image = "ghcr.io/benphelps/homepage:latest";
volumes = [
"/srv/homepage/config:/app/config"
];
ports = [ "3000:3000" ];
};
}

View file

@ -0,0 +1,15 @@
{ ... }:
{
# Jellyfin
virtualisation.oci-containers.containers."jellyfin" = {
autoStart = true;
image = "jellyfin/jellyfin";
volumes = [
"/srv/jellyfin/config:/config"
"/srv/jellyfin/cache:/cache"
"/srv/media:/media"
];
ports = [ "8096:8096" ];
};
}

View file

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

View file

@ -0,0 +1,14 @@
{ ... }:
{
# Qbittorrent
virtualisation.oci-containers.containers."qbittorrent" = {
autoStart = true;
image = "cr.hotio.dev/hotio/qbittorrent";
volumes = [
"/srv/qbittorrent/config:/config"
"/srv/media:/media"
];
ports = [ "8080:8080" ];
};
}

View file

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

View file

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