chore(deploy): stack ports as env variables; park-lab moves to art-docker-station
Build & push images / images (push) Successful in 2m56s

art-docker-station already serves :80, so the lab stack could not come up there.
HTTP_PORT (Caddy listen), SERVER_PORT (host-net server + advertised device push
port) and VISION_HOST_PORT (vision loopback publish) now flow from the stack env
through docker-compose.prod.yml; the Caddyfile reads {$HTTP_PORT:80} and
{$SERVER_PORT:3000}. Unset = the old :80 -> :3000 / 8089 layout, so booths are
unchanged. park-lab: server = art-docker-station, ports 8080 / 3100 / 8189.

Verified: caddy validate + adapt (with env -> :8080 / 127.0.0.1:3100, without
-> :80 / :3000) and docker compose config with the lab values. Wiki:
container-deployment §proxy, fleet-deployment-komodo §park-lab, log.
This commit is contained in:
2026-10-08 11:00:04 +02:00
parent 4593a397dd
commit 08351a09bf
6 changed files with 55 additions and 6 deletions
+8 -1
View File
@@ -130,7 +130,7 @@ BACKUP_KEY=[[park_2_backup_key]]
[[stack]]
name = "park-lab"
[stack.config]
server = "park-lab"
server = "art-docker-station"
git_provider = "git.infra.msai.al"
git_account = "komodo"
repo = "mca/parking_solution"
@@ -146,6 +146,13 @@ REGISTRY=git.infra.msai.al/mca/parking_solution
# Lab: pinned to the SAME stage-<sha> as the booth whose bug is being reproduced (bump
# alongside it). A lab may float, but a reproduction must run the booth's exact image.
TAG=stage-88f9c53
# The lab stack runs on art-docker-station (2026-10-08), a SHARED host: :80 is another service's
# and :3000 / :8089 may be too. These three move every host binding (Caddy listen, host-net
# server, vision loopback publish); the UI is then http://<station>:8080/. Booth stacks leave
# them unset and keep :80 → :3000. See docker-compose.prod.yml + Caddyfile.
HTTP_PORT=8080
SERVER_PORT=3100
VISION_HOST_PORT=8189
COOKIE_SECURE=0
# Entitled to Car Wash too, so the wash-desk printer role and till can be exercised on the bench.
MODULES_ENTITLED=parking,carwash