The Servarr apps (TV, movies), each self-contained from hal's shared arr client. Tools: status, library, search, queue, calendar. Events by polling the download queue: a new item emits module.<app>.<thing>.grabbed, an item that leaves as completed emits module.<app>.download.completed — the exact key plex consumes to rescan. A grab that left as failed/warning is not reported as a completion. Both typecheck; manifests parse.
66 lines
1.4 KiB
JSON
66 lines
1.4 KiB
JSON
{
|
|
"module": "radarr",
|
|
"version": "1",
|
|
"capabilities": [
|
|
"container-runtime"
|
|
],
|
|
"emits": [
|
|
"module.radarr.movie.grabbed",
|
|
"module.radarr.download.completed"
|
|
],
|
|
"consumes": [],
|
|
"own-secrets": {
|
|
"broker": "/var/lib/radarr/broker"
|
|
},
|
|
"listens": [
|
|
{
|
|
"port": 7878,
|
|
"protocol": "tcp",
|
|
"from": "mesh",
|
|
"why": "managing films"
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "config",
|
|
"type": "directory",
|
|
"path": "/services/radarr/config",
|
|
"mode": "0700",
|
|
"owner": "1000:1000"
|
|
},
|
|
{
|
|
"id": "media-movies",
|
|
"type": "directory",
|
|
"path": "/services/media/movies",
|
|
"mode": "0755",
|
|
"owner": "1000:1000"
|
|
},
|
|
{
|
|
"id": "media-downloads",
|
|
"type": "directory",
|
|
"path": "/services/media/downloads",
|
|
"mode": "0755",
|
|
"owner": "1000:1000"
|
|
},
|
|
{
|
|
"id": "server",
|
|
"type": "container",
|
|
"name": "radarr",
|
|
"image": "lscr.io/linuxserver/radarr@sha256:119aaa4a4f7349bcd2a136c5373a0d7925b5479915c7dfe0c0ad352db2a6d438",
|
|
"env": {
|
|
"PUID": "1000",
|
|
"PGID": "1000",
|
|
"TZ": "Etc/UTC"
|
|
},
|
|
"ports": [
|
|
"7878"
|
|
],
|
|
"volumes": [
|
|
"/services/radarr/config:/config",
|
|
"/services/media/movies:/movies",
|
|
"/services/media/downloads:/downloads"
|
|
]
|
|
}
|
|
]
|
|
}
|