Files
mesh-catalog/modules/de-spiegel/module.json
T
jschoubben 1fc10be11b Convert only-office, n8n, de-spiegel to nox modules
Mirror the proven converted modules: pure manifests, no runtime.

- only-office: owned onlyoffice/documentserver container, generated JWT
  own-secret, public route office.novox.be. Analog: gitea/hello-web.
- n8n: consumes mesh postgres-database + redis-cache providers instead of
  bundling them, owned container, public route n8n.novox.be. Analog:
  baserow (postgres+redis) + hello-web (route).
- de-spiegel: owned container built from its own repo image, public route
  de-spiegel.novox.be, given SMTP own-secrets. Analog: hello-web/invoicing.
2026-09-09 00:30:06 +02:00

65 lines
1.4 KiB
JSON

{
"module": "de-spiegel",
"version": "1",
"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"
]
}
]
}