@@ -15,6 +15,7 @@ SUBMITQUEUE_LOCAL_PROJECT = submitqueue
1515
1616# Stovepipe compose file (single Ping-only service)
1717STOVEPIPE_COMPOSE_FILE = $(abspath service/stovepipe/docker-compose.yml)
18+ STOVEPIPE_WEB_COMPOSE_FILE = $(abspath web/service/stovepipe/docker-compose.yml)
1819STOVEPIPE_DEBUG_COMPOSE_FILE = $(abspath service/stovepipe/docker-compose.debug.yml)
1920
2021# Fixed project name for local manual testing (tests use unique random names)
@@ -568,7 +569,7 @@ local-submitqueue-stop: ## Stop the SubmitQueue stack (keeps PROVIDER=git's sand
568569local-stop : # # Stop every local stack — SubmitQueue, Stovepipe, and Runway
569570 @echo " Stopping all services..."
570571 @$(COMPOSE ) -f $(COMPOSE_FILE ) -f $(PROVIDER_COMPOSE_FILE ) -f $(WEB_COMPOSE_FILE ) -p $(SUBMITQUEUE_LOCAL_PROJECT ) down
571- @$(COMPOSE ) -f $(STOVEPIPE_COMPOSE_FILE ) -p $(STOVEPIPE_LOCAL_PROJECT ) down
572+ @$(COMPOSE ) -f $(STOVEPIPE_COMPOSE_FILE ) -f $( STOVEPIPE_WEB_COMPOSE_FILE ) - p $(STOVEPIPE_LOCAL_PROJECT ) down
572573 @$(COMPOSE ) -f $(RUNWAY_COMPOSE_FILE ) -p $(RUNWAY_LOCAL_PROJECT ) down
573574 @echo " Services stopped. Anonymous database volumes are not reused on the next start."
574575
@@ -586,7 +587,7 @@ local-stovepipe-debug-start: build-stovepipe-linux-debug ## Start Stovepipe unde
586587 @echo " Delve: 127.0.0.1:2345 — run launch config \" Debug: attach (dlv in docker)\" "
587588
588589local-stovepipe-logs : # # View logs from the running Stovepipe service
589- @$(COMPOSE ) -f $(STOVEPIPE_COMPOSE_FILE ) -p $(STOVEPIPE_LOCAL_PROJECT ) logs -f
590+ @$(COMPOSE ) -f $(STOVEPIPE_COMPOSE_FILE ) -f $( STOVEPIPE_WEB_COMPOSE_FILE ) - p $(STOVEPIPE_LOCAL_PROJECT ) logs -f
590591
591592local-stovepipe-start : build-stovepipe-linux # # Start Stovepipe service (gRPC service + MySQL storage + MySQL queue)
592593 @echo " Starting Stovepipe service with compose..."
@@ -602,9 +603,15 @@ local-stovepipe-start: build-stovepipe-linux ## Start Stovepipe service (gRPC se
602603
603604local-stovepipe-stop : # # Stop the Stovepipe service
604605 @echo " Stopping Stovepipe service..."
605- @$(COMPOSE ) -f $(STOVEPIPE_COMPOSE_FILE ) -p $(STOVEPIPE_LOCAL_PROJECT ) down
606+ @$(COMPOSE ) -f $(STOVEPIPE_COMPOSE_FILE ) -f $( STOVEPIPE_WEB_COMPOSE_FILE ) - p $(STOVEPIPE_LOCAL_PROJECT ) down
606607 @echo " Stovepipe service stopped."
607608
609+ local-stovepipe-web-start : local-stovepipe-start # # Start Stovepipe and its web UI on free ports
610+ @$(BAZEL ) run //web/service/stovepipe:image_load
611+ @$(COMPOSE ) -f $(STOVEPIPE_COMPOSE_FILE ) -f $(STOVEPIPE_WEB_COMPOSE_FILE ) -p $(STOVEPIPE_LOCAL_PROJECT ) up -d --no-build --wait web-service
612+ @echo " Web UX: http://localhost:$$ ($( COMPOSE) -f $( STOVEPIPE_COMPOSE_FILE) -f $( STOVEPIPE_WEB_COMPOSE_FILE) -p $( STOVEPIPE_LOCAL_PROJECT) port web-service 3000 | sed 's/.*://')"
613+ @echo " Web username: test; password: $$ {STOVEPIPE_WEB_TOKEN:-test}"
614+
608615# go generate does not walk the module; every tree with a //go:generate directive is listed here.
609616GO_GENERATE_PACKAGES := \
610617 ./platform/consumer/... \
@@ -698,12 +705,12 @@ tidy-go: ## Run go mod tidy
698705 @echo " Running go mod tidy..."
699706 @$(BAZEL ) run @rules_go//go -- mod tidy -e
700707
701- web-build : # # Build the web packages and deployable Next.js image with Bazel
702- @$(BAZEL ) build //web/submitqueue:pkg //web/service/submitqueue:image
708+ web-build : # # Build the web packages and deployable Next.js images with Bazel
709+ @$(BAZEL ) build //web/stovepipe:pkg //web/ submitqueue:pkg //web/service/submitqueue:image //web/service/stovepipe :image
703710
704711web-check : # # Run web generation, packaging, lint, type, unit, and image checks with Bazel
705712 @$(BAZEL ) test //web:check --test_output=errors
706- @$(BAZEL ) build //web/service/submitqueue:image
713+ @$(BAZEL ) build //web/service/submitqueue:image //web/service/stovepipe:image
707714
708715web-e2e-test : # # Run the Bazel-managed real-stack Playwright and axe web test
709716 @$(BAZEL ) test //web/test/e2e:web_test --test_output=errors
0 commit comments