Add ombi container to library
This commit is contained in:
@ -43,6 +43,7 @@ with lib.my;
|
|||||||
-o TCPKeepAlive=no \
|
-o TCPKeepAlive=no \
|
||||||
-i %h/.ssh/id_jellyfin \
|
-i %h/.ssh/id_jellyfin \
|
||||||
-R localhost:8096:localhost:8096 \
|
-R localhost:8096:localhost:8096 \
|
||||||
|
-R localhost:3579:localhost:3579 \
|
||||||
jellyfin@vps1.mesh.vimium.net
|
jellyfin@vps1.mesh.vimium.net
|
||||||
'';
|
'';
|
||||||
Restart="on-failure";
|
Restart="on-failure";
|
||||||
@ -73,12 +74,27 @@ with lib.my;
|
|||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--detach"
|
"--detach"
|
||||||
"--privileged"
|
"--privileged"
|
||||||
"--label=io.containers.autoupdate=registry"
|
"--label=io.containers.autoupdate=registry"
|
||||||
"--group-add=989"
|
"--group-add=989"
|
||||||
"--mount=type=bind,source=/mnt/library,target=/library,ro=true"
|
"--mount=type=bind,source=/mnt/library,target=/library,ro=true"
|
||||||
"--device=/dev/dri:/dev/dri"
|
"--device=/dev/dri:/dev/dri"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
ombi = {
|
||||||
|
image = "lscr.io/linuxserver/ombi:latest";
|
||||||
|
autoStart = true;
|
||||||
|
ports = [ "3579:3579/tcp" ];
|
||||||
|
environment = {
|
||||||
|
BASE_URL = "/requests";
|
||||||
|
};
|
||||||
|
volumes = [
|
||||||
|
"ombi-config:/config:Z"
|
||||||
|
];
|
||||||
|
extraOptions = [
|
||||||
|
"--label=io.containers.autoupdate=registry"
|
||||||
|
];
|
||||||
|
dependsOn = [ "jellyfin" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
|
Reference in New Issue
Block a user