The media four: plex, sonarr, radarr, qbittorrent
The shape they share is the interesting part: a media library is a fact about the machine that several modules mount, so each declares exactly the paths it touches, with one owner and mode across all of them. The host reconciles a directory rather than creating it, so the second module ensuring a path the first already ensured is maintenance, not a fight — and ADR 0030 keeps a shared path alive when one of its sharers is unassigned, because it holds what the mesh did not put there. Plex runs on the machine's own network like home-assistant, and for the same reason: discovery is the point. The other three publish, so the mesh chooses their machine ports. All pinned by real digests, resolved on this workstation today. The catalogue stands at 22, of which the arrangement being replaced ran 95 — but its number counts workstation ricing and one-machine tooling beside services, and only the services convert to manifests like these.
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"module": "radarr",
|
||||
"version": "1",
|
||||
"capabilities": [
|
||||
"container-runtime"
|
||||
],
|
||||
"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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user