listens said 4000 while the container publishes 8080; the old assignment's port setting hid it, and the rename lost the setting, so the proxy dialled a port nothing answered (2026-09-30).
55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
{
|
|
"module": "website",
|
|
"version": "1",
|
|
"capabilities": [
|
|
"container-runtime"
|
|
],
|
|
"requires": [
|
|
"route"
|
|
],
|
|
"contributes": {
|
|
"route": {
|
|
"label": "@",
|
|
"endpoint": "web"
|
|
}
|
|
},
|
|
"binds": {
|
|
"route": "${dir:state}/route.json"
|
|
},
|
|
"listens": [
|
|
{
|
|
"name": "web",
|
|
"port": 8080,
|
|
"protocol": "tcp",
|
|
"from": "mesh",
|
|
"why": "the public website over http; its public name is a route grant, and route-proxy reaches it on this published port"
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": "."
|
|
},
|
|
{
|
|
"id": "net",
|
|
"type": "network",
|
|
"name": "website"
|
|
},
|
|
{
|
|
"id": "server",
|
|
"type": "container",
|
|
"name": "website",
|
|
"image": "registry-api.novox.be/novox/www@sha256:aa7ed20a293e1d7444c5c5d59b6d8bdb382bad159559a22e006810e379cae69c",
|
|
"network": "website",
|
|
"ports": [
|
|
"8080"
|
|
],
|
|
"names-on-purpose": {
|
|
"registry-api.novox.be": "built outside the mesh, from the application's own repository, and pulled from the registry that built it; moves when that repository is a build source on the git seat (novox/hq ADR 0155, issue 122)"
|
|
}
|
|
}
|
|
]
|
|
}
|