Fix: Rename Docker images for services and add GATEWAY_CONSUL_PREFER_IP environment variable
This commit is contained in:
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user