The whole-mesh-novox lab validation found three modules unresolvable: a provision-consuming module's minted login is mesh_<node>_<module>, and on novox `mesh_novox_only_office`(22)/`_de_spiegel`(21)/`_amqp_email_forwarder`(31) overflow the 20-char S3 access-key cap (ADR 0049). Added a short `slug` each (office/spiegel/emailfwd → 17/18/19 chars). Also fixed mailu's roundcube image: the pinned digest returns "manifest unknown" from ghcr; corrected to the real :1.9 digest. Claude-Session: https://claude.ai/code/session_01LrgweAeERJYBg88c5cKDzF
66 lines
1.4 KiB
JSON
66 lines
1.4 KiB
JSON
{
|
|
"module": "de-spiegel",
|
|
"version": "1",
|
|
"slug": "spiegel",
|
|
"capabilities": [
|
|
"container-runtime"
|
|
],
|
|
"requires": [
|
|
"route"
|
|
],
|
|
"contributes": {
|
|
"route": {
|
|
"name": "de-spiegel.novox.be",
|
|
"port": 35621
|
|
}
|
|
},
|
|
"binds": {
|
|
"route": "/var/lib/de-spiegel/route.json"
|
|
},
|
|
"own-secrets": {
|
|
"smtp-user": "/var/lib/de-spiegel/smtp-user.secret",
|
|
"smtp-pass": "/var/lib/de-spiegel/smtp-pass.secret"
|
|
},
|
|
"listens": [
|
|
{
|
|
"port": 35621,
|
|
"protocol": "tcp",
|
|
"from": "mesh",
|
|
"why": "the de-spiegel site and its /contact endpoint over http; the public name de-spiegel.novox.be is a route grant, and route-proxy reaches it on this published port"
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"path": "/var/lib/de-spiegel",
|
|
"mode": "0700"
|
|
},
|
|
{
|
|
"id": "server-env",
|
|
"type": "file",
|
|
"path": "/var/lib/de-spiegel/server.env",
|
|
"mode": "0600",
|
|
"content": "SMTP_AUTH_USER=${secret:smtp-user}\nSMTP_AUTH_PASS=${secret:smtp-pass}\n"
|
|
},
|
|
{
|
|
"id": "net",
|
|
"type": "network",
|
|
"name": "de-spiegel"
|
|
},
|
|
{
|
|
"id": "server",
|
|
"type": "container",
|
|
"name": "de-spiegel",
|
|
"image": "registry-api.novox.be/novox/de-spiegel:latest",
|
|
"network": "de-spiegel",
|
|
"env-file": [
|
|
"/var/lib/de-spiegel/server.env"
|
|
],
|
|
"ports": [
|
|
"35621:35621"
|
|
]
|
|
}
|
|
]
|
|
}
|