Fix: Rename Docker images for services and add GATEWAY_CONSUL_PREFER_IP environment variable

This commit is contained in:
2026-03-09 23:10:14 +01:00
parent d6a484c347
commit e8b5569893
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -128,6 +128,7 @@ GATEWAY_SPRING_PROFILES_ACTIVE=docker
GATEWAY_DEBUG=true
GATEWAY_SERVICE_NAME=api-gateway
GATEWAY_CONSUL_HOSTNAME=api-gateway
GATEWAY_CONSUL_PREFER_IP=true
# --- PING-SERVICE ---
PING_SPRING_PROFILES_ACTIVE=docker
+2 -2
View File
@@ -7,7 +7,7 @@ services:
# --- API-GATEWAY: Spring Cloud Gateway ---
api-gateway:
image: "${DOCKER_REGISTRY:-git.mo-code.at/mo-code}/meldestelle-gateway:${DOCKER_TAG:-latest}"
image: "${DOCKER_REGISTRY:-git.mo-code.at/mo-code}/api-gateway:${DOCKER_TAG:-latest}"
build:
context: .
dockerfile: backend/infrastructure/gateway/Dockerfile
@@ -82,7 +82,7 @@ services:
# --- MICROSERVICE: Ping Service ---
ping-service:
image: "${DOCKER_REGISTRY:-git.mo-code.at/mo-code}/meldestelle-ping-service:${DOCKER_TAG:-latest}"
image: "${DOCKER_REGISTRY:-git.mo-code.at/mo-code}/ping-service:${DOCKER_TAG:-latest}"
build:
context: .
dockerfile: backend/services/ping/Dockerfile
+1 -1
View File
@@ -7,7 +7,7 @@ services:
# --- WEB-APP ---
web-app:
image: "${DOCKER_REGISTRY:-git.mo-code.at/mo-code}/meldestelle-web-app:${DOCKER_TAG:-latest}"
image: "${DOCKER_REGISTRY:-git.mo-code.at/mo-code}/web-app:${DOCKER_TAG:-latest}"
build:
context: . # Wichtig: Root Context für Monorepo Zugriff
dockerfile: config/docker/caddy/web-app/Dockerfile