Add a `route` contribution (requires/contributes/binds) to every web app so each gets a Host-routed public name via route-proxy, mirroring the de-spiegel/only-office pattern: - novox: gitea, keycloak, nextcloud, umami, invoicing, verdaccio, registry, and mailu (single mail.novox.be -> 7080; admin/webmail/api ride that port). - ace: grafana, sonarr, radarr, lidarr, bazarr, ombi, tautulli, jackett, nodered, searxng, home-assistant, bookshelf, baserow. Split photos so its three sites each get a name: photos keeps server + admin-client (photos.novox.be), and new photos-eef (eef.novox.be) and photos-filip (filip.novox.be) modules carry the client sites. The production FQDN stays the literal default; a per-node .incus name is a settings override applied where the mesh runs, not a manifest hardcoding. Claude-Session: https://claude.ai/code/session_01LrgweAeERJYBg88c5cKDzF
52 lines
1.0 KiB
JSON
52 lines
1.0 KiB
JSON
{
|
|
"module": "photos-filip",
|
|
"version": "1",
|
|
"slug": "filip",
|
|
"capabilities": [
|
|
"container-runtime"
|
|
],
|
|
"requires": [
|
|
"route"
|
|
],
|
|
"contributes": {
|
|
"route": {
|
|
"name": "filip.novox.be",
|
|
"port": 4013
|
|
}
|
|
},
|
|
"binds": {
|
|
"route": "/var/lib/photos-filip/route.json"
|
|
},
|
|
"listens": [
|
|
{
|
|
"port": 4013,
|
|
"protocol": "tcp",
|
|
"from": "mesh",
|
|
"why": "the filip photos client site over http; the public name filip.novox.be is a route grant, and route-proxy reaches it on this published port"
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"path": "/var/lib/photos-filip",
|
|
"mode": "0700"
|
|
},
|
|
{
|
|
"id": "net",
|
|
"type": "network",
|
|
"name": "photos-filip"
|
|
},
|
|
{
|
|
"id": "client",
|
|
"type": "container",
|
|
"name": "photos-filip",
|
|
"image": "registry-api.novox.be/novox/photos-client:latest",
|
|
"network": "photos-filip",
|
|
"ports": [
|
|
"4013:80"
|
|
]
|
|
}
|
|
]
|
|
}
|