diff --git a/modules/radarr/module.json b/modules/radarr/module.json index b3c31c6..63a3772 100644 --- a/modules/radarr/module.json +++ b/modules/radarr/module.json @@ -31,7 +31,7 @@ "port": 7878, "protocol": "tcp", "from": "mesh", - "why": "managing films" + "why": "managing films: its web UI, and the API other modules reach as radarr-api" } ], "accesses": [ @@ -51,10 +51,15 @@ "path": "/var/lib/mesh/radarr", "mode": "0700" }, + { + "id": "state", + "type": "directory", + "mode": "0700", + "place": "." + }, { "id": "config", "type": "directory", - "path": "/services/radarr/config", "mode": "0700", "owner": "1000:1000" }, @@ -62,7 +67,7 @@ "id": "server", "type": "container", "name": "radarr", - "image": "lscr.io/linuxserver/radarr@sha256:119aaa4a4f7349bcd2a136c5373a0d7925b5479915c7dfe0c0ad352db2a6d438", + "image": "lscr.io/linuxserver/radarr@sha256:c960f2b52ec6542dbe6707c5a21e696a7c74fd8b17997454f4d10a55dacee133", "env": { "PUID": "1000", "PGID": "1000", @@ -72,7 +77,7 @@ "7878" ], "volumes": [ - "/services/radarr/config:/config", + "${dir:config}:/config", "/services/media/movies:/movies", "/services/media/downloads:/downloads" ] @@ -84,7 +89,7 @@ "network": "host", "volumes": [ "/var/lib/mesh/radarr/broker:/run/secrets/broker:ro", - "/services/radarr/config:/var/lib/radarr/config:ro" + "${dir:config}:/var/lib/radarr/config:ro" ], "env": { "MESH_BROKER_FILE": "/run/secrets/broker", @@ -104,7 +109,7 @@ } }, "binds": { - "route": "/var/lib/mesh/radarr/route.json" + "route": "${dir:state}/route.json" }, "build": { "on": [