Prep kiosk-app for submodule split
This commit is contained in:
@@ -191,11 +191,15 @@ services:
|
||||
|
||||
# --- Kiosk SPA (spaceship terminal shown by the diskless kiosk) ------------
|
||||
# Svelte + Tailwind app built into a static bundle served by its own nginx.
|
||||
# Bridge-networked (NOT host) so it doesn't fight :80; published on loopback
|
||||
# only, where the host-network 'http' nginx reverse-proxies /kiosk/ to it.
|
||||
# Build: docker compose build kiosk
|
||||
# Now an INDEPENDENT project — the `kiosk-app` git submodule (its own repo +
|
||||
# CI). It builds + pushes its own image (git.../fleet-kiosk); the serving stack
|
||||
# pulls it, like dnsmasq/SPDK. Bridge-networked (NOT host) so it doesn't fight
|
||||
# :80; published on loopback only, where the host-network 'http' nginx
|
||||
# reverse-proxies /kiosk/ to it.
|
||||
kiosk:
|
||||
build: ./kiosk-app
|
||||
image: ${KIOSK_IMAGE}:${KIOSK_VERSION}
|
||||
# Local dev from the submodule working tree instead of pulling:
|
||||
# build: ./kiosk-app
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:${KIOSK_APP_PORT:-8088}:80" # loopback only; main nginx proxies here
|
||||
|
||||
Reference in New Issue
Block a user