48 definitions stop naming /var/lib/mesh/<module>: the directory says `place: "mesh"`, the two
subdirectories beneath it (gitea's runtime state, anthropic-manager's output) state their path
beneath it, and every credential, binding, merged file and mount names it as ${dir:mesh-state}.
Resolved on the default root, every definition names exactly the paths it named before —
TestPlacedDirectoriesKeepTheirPaths in mesh-controller, run over both checkouts. Needs the
controller that knows the word (mesh-controller, same branch) one release ahead.
37 lines
711 B
JSON
37 lines
711 B
JSON
{
|
|
"module": "marrytts",
|
|
"version": "1",
|
|
"capabilities": [
|
|
"container-runtime"
|
|
],
|
|
"listens": [
|
|
{
|
|
"name": "api",
|
|
"port": 59125,
|
|
"protocol": "tcp",
|
|
"from": "mesh",
|
|
"why": "the MaryTTS text-to-speech HTTP API and web interface"
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "mesh-state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": "mesh"
|
|
},
|
|
{
|
|
"id": "server",
|
|
"type": "container",
|
|
"name": "marrytts",
|
|
"image": "synesthesiam/marytts@sha256:45970ecb3e21a2981c66c60563a70cf00be8e95c02565e7d74b3a73dcec7db2c",
|
|
"env": {
|
|
"TZ": "Europe/Brussels"
|
|
},
|
|
"ports": [
|
|
"59125"
|
|
]
|
|
}
|
|
]
|
|
}
|