Each module becomes modules/<name>/ holding module.json, with room for the rest of what a module is — its tools, health checks, provisioning, lifecycle — which the conversion from hal still has to bring across. The flat <name>.json was only the resource-declaration half. Claude-Session: https://claude.ai/code/session_01LrgweAeERJYBg88c5cKDzF
74 lines
1.6 KiB
JSON
74 lines
1.6 KiB
JSON
{
|
|
"module": "bazarr",
|
|
"version": "1",
|
|
"capabilities": [
|
|
"container-runtime"
|
|
],
|
|
"listens": [
|
|
{
|
|
"port": 6767,
|
|
"protocol": "tcp",
|
|
"from": "mesh",
|
|
"why": "managing subtitles"
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "config",
|
|
"type": "directory",
|
|
"path": "/services/bazarr/config",
|
|
"mode": "0700",
|
|
"owner": "1000:1000"
|
|
},
|
|
{
|
|
"id": "media-movies",
|
|
"type": "directory",
|
|
"path": "/services/media/movies",
|
|
"mode": "0755",
|
|
"owner": "1000:1000"
|
|
},
|
|
{
|
|
"id": "media-series",
|
|
"type": "directory",
|
|
"path": "/services/media/series",
|
|
"mode": "0755",
|
|
"owner": "1000:1000"
|
|
},
|
|
{
|
|
"id": "media-anime",
|
|
"type": "directory",
|
|
"path": "/services/media/anime",
|
|
"mode": "0755",
|
|
"owner": "1000:1000"
|
|
},
|
|
{
|
|
"id": "media-downloads",
|
|
"type": "directory",
|
|
"path": "/services/media/downloads",
|
|
"mode": "0755",
|
|
"owner": "1000:1000"
|
|
},
|
|
{
|
|
"id": "server",
|
|
"type": "container",
|
|
"name": "bazarr",
|
|
"image": "lscr.io/linuxserver/bazarr@sha256:3a820372f19fcb2981ea19fe4b5382934d67414afaba974bce831ddda0a64a02",
|
|
"env": {
|
|
"PUID": "1000",
|
|
"PGID": "1000",
|
|
"TZ": "Etc/UTC"
|
|
},
|
|
"ports": [
|
|
"6767"
|
|
],
|
|
"volumes": [
|
|
"/services/bazarr/config:/config",
|
|
"/services/media/movies:/movies",
|
|
"/services/media/series:/series",
|
|
"/services/media/anime:/anime",
|
|
"/services/media/downloads:/downloads"
|
|
]
|
|
}
|
|
]
|
|
}
|