upgrade(docker)

This commit is contained in:
stefan
2025-08-16 15:47:57 +02:00
parent 1ef14a3692
commit 9c21154199
48 changed files with 6250 additions and 549 deletions
+4 -49
View File
@@ -136,55 +136,10 @@ services:
start_period: 15s
restart: unless-stopped
# API Gateway
api-gateway:
build:
context: .
dockerfile: infrastructure/gateway/Dockerfile
ports:
- "8080:8080"
depends_on:
consul:
condition: service_healthy
environment:
- SPRING_PROFILES_ACTIVE=docker
- SPRING_CLOUD_CONSUL_HOST=consul
- SPRING_CLOUD_CONSUL_PORT=8500
networks:
- meldestelle-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/actuator/health"]
interval: 10s
timeout: 5s
retries: 3
start_period: 30s
restart: unless-stopped
# Ping Service for testing
ping-service:
build:
context: .
dockerfile: temp/ping-service/Dockerfile
ports:
- "8082:8082"
depends_on:
consul:
condition: service_healthy
environment:
- SPRING_PROFILES_ACTIVE=docker
- SPRING_CLOUD_CONSUL_HOST=consul
- SPRING_CLOUD_CONSUL_PORT=8500
- SPRING_APPLICATION_NAME=ping-service
- SERVER_PORT=8082
networks:
- meldestelle-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8082/ping"]
interval: 10s
timeout: 5s
retries: 3
start_period: 20s
restart: unless-stopped
# ===================================================================
# Application Services moved to docker-compose.services.yml
# Usage: docker-compose -f docker-compose.yml -f docker-compose.services.yml up
# ===================================================================
# Optional monitoring services
prometheus: