setup media server containers
This commit is contained in:
parent
0243be74c8
commit
93d656baf5
13
nixos/lavender/containers/homepage.nix
Normal file
13
nixos/lavender/containers/homepage.nix
Normal 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" ];
|
||||
};
|
||||
}
|
15
nixos/lavender/containers/jellyfin.nix
Normal file
15
nixos/lavender/containers/jellyfin.nix
Normal 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" ];
|
||||
};
|
||||
}
|
14
nixos/lavender/containers/prowlarr.nix
Normal file
14
nixos/lavender/containers/prowlarr.nix
Normal 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" ];
|
||||
};
|
||||
}
|
14
nixos/lavender/containers/qbittorrent.nix
Normal file
14
nixos/lavender/containers/qbittorrent.nix
Normal 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" ];
|
||||
};
|
||||
}
|
14
nixos/lavender/containers/radarr.nix
Normal file
14
nixos/lavender/containers/radarr.nix
Normal 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" ];
|
||||
};
|
||||
}
|
14
nixos/lavender/containers/sonarr.nix
Normal file
14
nixos/lavender/containers/sonarr.nix
Normal 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" ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue