Services/Bazarr: Init at v1.5.3
This commit is contained in:
49
system/services/bazarr.nix
Normal file
49
system/services/bazarr.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
bazarrVersion = "1.5.3";
|
||||
in {
|
||||
virtualisation.oci-containers.containers = {
|
||||
bazarr = {
|
||||
image = "linuxserver/bazarr:${bazarrVersion}";
|
||||
autoStart = true;
|
||||
|
||||
login = {
|
||||
# Uses DockerHub by default
|
||||
# registry = "";
|
||||
|
||||
# DockerHub Credentials
|
||||
username = "christoph.urlacher@protonmail.com";
|
||||
passwordFile = "${config.sops.secrets.docker-password.path}";
|
||||
};
|
||||
|
||||
dependsOn = [];
|
||||
|
||||
ports = [
|
||||
# "6767:6766"
|
||||
];
|
||||
|
||||
volumes = [
|
||||
"/media/Movie:/media/movies"
|
||||
"/media/Show:/media/shows"
|
||||
|
||||
"bazarr_config:/config"
|
||||
];
|
||||
|
||||
environment = {
|
||||
PUID = "1000";
|
||||
PGID = "1000";
|
||||
TZ = "Europe/Berlin";
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
# "--privileged"
|
||||
# "--device=nvidia.com/gpu=all"
|
||||
"--net=behind-nginx"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user