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_DEBUG=true
|
||||||
GATEWAY_SERVICE_NAME=api-gateway
|
GATEWAY_SERVICE_NAME=api-gateway
|
||||||
GATEWAY_CONSUL_HOSTNAME=api-gateway
|
GATEWAY_CONSUL_HOSTNAME=api-gateway
|
||||||
|
GATEWAY_CONSUL_PREFER_IP=true
|
||||||
|
|
||||||
# --- PING-SERVICE ---
|
# --- PING-SERVICE ---
|
||||||
PING_SPRING_PROFILES_ACTIVE=docker
|
PING_SPRING_PROFILES_ACTIVE=docker
|
||||||
|
|||||||
+2
-2
@@ -7,7 +7,7 @@ services:
|
|||||||
|
|
||||||
# --- API-GATEWAY: Spring Cloud Gateway ---
|
# --- API-GATEWAY: Spring Cloud Gateway ---
|
||||||
api-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:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: backend/infrastructure/gateway/Dockerfile
|
dockerfile: backend/infrastructure/gateway/Dockerfile
|
||||||
@@ -82,7 +82,7 @@ services:
|
|||||||
|
|
||||||
# --- MICROSERVICE: Ping Service ---
|
# --- MICROSERVICE: Ping Service ---
|
||||||
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:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: backend/services/ping/Dockerfile
|
dockerfile: backend/services/ping/Dockerfile
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ services:
|
|||||||
|
|
||||||
# --- WEB-APP ---
|
# --- WEB-APP ---
|
||||||
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:
|
build:
|
||||||
context: . # Wichtig: Root Context für Monorepo Zugriff
|
context: . # Wichtig: Root Context für Monorepo Zugriff
|
||||||
dockerfile: config/docker/caddy/web-app/Dockerfile
|
dockerfile: config/docker/caddy/web-app/Dockerfile
|
||||||
|
|||||||
Reference in New Issue
Block a user