2024-01-23 09:45:42 +08:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
virtualisation.oci-containers.containers = {
|
|
|
|
# Request management
|
|
|
|
jellyseerr = {
|
|
|
|
autoStart = true;
|
|
|
|
image = "ghcr.io/hotio/jellyseerr";
|
|
|
|
ports = [
|
|
|
|
"5055:5055/tcp" # WebUI
|
|
|
|
];
|
|
|
|
volumes = [
|
|
|
|
"/srv/containers/jellyseerr:/config"
|
|
|
|
];
|
|
|
|
extraOptions = [
|
|
|
|
"--network=media-stack"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-06-05 21:14:22 +08:00
|
|
|
|
|
|
|
services.traefik.dynamicConfigOptions.http.routers = {
|
|
|
|
jellyseerr = {
|
|
|
|
rule = "Host(`jellyseerr.kanto.dev`)";
|
|
|
|
entryPoints = [
|
|
|
|
"websecure"
|
|
|
|
];
|
|
|
|
middlewares = [
|
|
|
|
"internal"
|
|
|
|
];
|
|
|
|
service = "jellyseerr";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.traefik.dynamicConfigOptions.http.services = {
|
|
|
|
jellyseerr.loadBalancer.servers = [
|
2024-06-05 23:09:46 +08:00
|
|
|
{ url = "http://127.0.0.1:5055"; }
|
2024-06-05 21:14:22 +08:00
|
|
|
];
|
|
|
|
};
|
2024-01-23 09:45:42 +08:00
|
|
|
}
|
2024-06-05 21:14:22 +08:00
|
|
|
|