726 B
726 B
type, title, description, tags, status, generated
| type | title | description | tags | status | generated | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Decision | Static Nuxt served by the gateway | Nuxt is generated to static files and embedded in the gateway image instead of running as its own pod. |
|
stable |
|
Decision
Build with nuxt generate, embed the output in the gateway with go:embed.
Why
- One less Deployment, no Node runtime in the cluster.
- One public service, same origin for the site and
/api, so no CORS. - The life map can still render from its data file when the live stream fails.
Cost
Frontend and gateway release together in one image.
Revisit when
The site needs server-side rendering per request.