add botdarr
This commit is contained in:
parent
d29267f18e
commit
68f4d79e79
37
profiles/servers/media-stack/botdarr.nix
Normal file
37
profiles/servers/media-stack/botdarr.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
with config.virtualisation.oci-containers; {
|
||||||
|
secrets.botdarr-telegram = {
|
||||||
|
services = [ "${backend}-botdarr-telegram.service" ];
|
||||||
|
};
|
||||||
|
secrets.botdarr-matrix = {
|
||||||
|
services = [ "${backend}-botdarr-matrix.service" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
virtualisation.oci-containers.containers.botdarr-telegram = {
|
||||||
|
autoStart = true;
|
||||||
|
extraOptions = [
|
||||||
|
"--network=media"
|
||||||
|
];
|
||||||
|
image = "shayaantx/botdarr:5.3.4";
|
||||||
|
volumes = [
|
||||||
|
"/etc/localtime:/etc/localtime:ro"
|
||||||
|
"/media/configs/botdarr-telegram/logs:/home/botdarr/logs"
|
||||||
|
"/media/configs/botdarr-telegram/database:/home/botdarr/database"
|
||||||
|
"${config.secrets.botdarr-telegram.decrypted}:/home/botdarr/config/properties:ro"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
virtualisation.oci-containers.containers.botdarr-matrix = {
|
||||||
|
autoStart = true;
|
||||||
|
extraOptions = [
|
||||||
|
"--network=media"
|
||||||
|
];
|
||||||
|
image = "shayaantx/botdarr:5.3.4";
|
||||||
|
volumes = [
|
||||||
|
"/etc/localtime:/etc/localtime:ro"
|
||||||
|
"/media/configs/botdarr-matrix/logs:/home/botdarr/logs"
|
||||||
|
"/media/configs/botdarr-matrix/database:/home/botdarr/database"
|
||||||
|
"${config.secrets.botdarr-matrix.decrypted}:/home/botdarr/config/properties:ro"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
@ -1,6 +1,7 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
with config.virtualisation.oci-containers; {
|
with config.virtualisation.oci-containers; {
|
||||||
imports = [
|
imports = [
|
||||||
|
./botdarr.nix
|
||||||
./caddy.nix
|
./caddy.nix
|
||||||
./prowlarr.nix
|
./prowlarr.nix
|
||||||
./qbittorrent.nix
|
./qbittorrent.nix
|
||||||
@ -36,6 +37,8 @@ with config.virtualisation.oci-containers; {
|
|||||||
systemd.services.create-media-network = {
|
systemd.services.create-media-network = {
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
wantedBy = [
|
wantedBy = [
|
||||||
|
"${backend}-botdarr-matrix.service"
|
||||||
|
"${backend}-botdarr-telegram.service"
|
||||||
"${backend}-jellyfin.service"
|
"${backend}-jellyfin.service"
|
||||||
"${backend}-radarr.service"
|
"${backend}-radarr.service"
|
||||||
"${backend}-media-caddy.service"
|
"${backend}-media-caddy.service"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user