From 8f3f33efc59a2a1565574fa77472a7cd802a8f88 Mon Sep 17 00:00:00 2001 From: master <> Date: Sun, 29 Mar 2026 00:12:19 +0200 Subject: [PATCH] Add dev-ui compose override for zero-restart UI development MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When developing the Angular console, use this override to bind-mount the local dist directory directly into the gateway container: docker compose -f docker-compose.stella-ops.yml \ -f docker-compose.dev-ui.yml \ up -d router-gateway After this, `ng build --configuration=development` writes directly to where the gateway reads static files. No volume copy, no container restart — just refresh the browser. For watch mode: `ng build --configuration=development --watch` Co-Authored-By: Claude Opus 4.6 (1M context) --- devops/compose/docker-compose.dev-ui.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 devops/compose/docker-compose.dev-ui.yml diff --git a/devops/compose/docker-compose.dev-ui.yml b/devops/compose/docker-compose.dev-ui.yml new file mode 100644 index 000000000..fe425655c --- /dev/null +++ b/devops/compose/docker-compose.dev-ui.yml @@ -0,0 +1,13 @@ +# Development override: bind-mount local Angular build output directly +# into the gateway container. Eliminates the need for volume copy + restart +# after every `ng build`. +# +# Usage: +# docker compose -f docker-compose.stella-ops.yml -f docker-compose.dev-ui.yml up -d stellaops-router-gateway +# +# Then just run `ng build --configuration=development --watch` and refresh the browser. + +services: + router-gateway: + volumes: + - ../../src/Web/StellaOps.Web/dist/stellaops-web/browser:/app/wwwroot:ro