From c0968b2fd1b4f5e8d7015498a3c1a8d581590bc4 Mon Sep 17 00:00:00 2001 From: furyhawk Date: Mon, 1 Jun 2026 10:55:45 +0800 Subject: [PATCH] fix: update upstream base URL and port in gateway configuration --- Makefile | 8 ++++---- config/gateway.container.yaml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index b4beea4..d33fa8a 100644 --- a/Makefile +++ b/Makefile @@ -74,15 +74,15 @@ check-companion-parity: uv run python -m gateway_framework.companion --config $(GATEWAY_CONFIG_PATH) --openapi $(COMPANION_OPENAPI) compose-up: - docker compose -f $(COMPOSE_FILE) up --build -d lta-datamall-api + $(CONTAINER_ENGINE) compose -f $(COMPOSE_FILE) up --build -d lta-datamall-api $(MAKE) check-companion-parity CONFIG_PROFILE=container - docker compose -f $(COMPOSE_FILE) up --build -d gateway + $(CONTAINER_ENGINE) compose -f $(COMPOSE_FILE) up --build -d gateway compose-down: - docker compose -f $(COMPOSE_FILE) down --remove-orphans + $(CONTAINER_ENGINE) compose -f $(COMPOSE_FILE) down --remove-orphans compose-logs: - docker compose -f $(COMPOSE_FILE) logs -f + $(CONTAINER_ENGINE) compose -f $(COMPOSE_FILE) logs -f fmt: uv run ruff check . diff --git a/config/gateway.container.yaml b/config/gateway.container.yaml index 2e95845..555a147 100644 --- a/config/gateway.container.yaml +++ b/config/gateway.container.yaml @@ -12,8 +12,8 @@ settings: upstreams: lta_datamall: - base_url: http://lta-datamall-api/ - port: 8000 + base_url: http://host.containers.internal/ + port: 8068 timeout_seconds: 20 routes: