# Isolated MQTT/Sparkplug live-gate overlay (Task 26). # # Runs the MAIN central pair ONLY, from this worktree's image, under its own # compose project + offset host ports, so the shared `otopcua-dev` rig and the # sibling driver worktrees that share `otopcua-host:dev` are untouched. # # docker build -f docker-dev/Dockerfile --target runtime -t otopcua-host:mqtt . # docker compose -p otopcua-mqtt -f docker-dev/docker-compose.yml \ # -f docker-dev/docker-compose.mqtt.yml \ # up -d sql migrator cluster-seed central-1 central-2 # # AdminUI -> http://localhost:9210 (login disabled; auto-admin) # OPC UA -> opc.tcp://localhost:4850 (central-1) / :4851 (central-2) # SQL -> localhost,14350 # # `!override` on every `ports` list: compose MERGES list-valued keys by # appending, so a plain re-declaration keeps the base file's "14330:1433" / # "4840:4840" and collides with the running `otopcua-dev` rig. services: sql: ports: !override - "14350:1433" central-1: image: otopcua-host:mqtt ports: !override - "4850:4840" - "9210:9000" central-2: image: otopcua-host:mqtt ports: !override - "4851:4840"