fix port conflict and KeycloakIntegrationTest.kt
This commit is contained in:
+6
-4
@@ -39,7 +39,7 @@ services:
|
||||
image: redis:7-alpine
|
||||
container_name: meldestelle-redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
- "${REDIS_PORT:-6379}:6379"
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
command: redis-server --appendonly yes
|
||||
@@ -91,7 +91,7 @@ services:
|
||||
image: hashicorp/consul:1.15
|
||||
container_name: meldestelle-consul
|
||||
ports:
|
||||
- "8500:8500"
|
||||
- "${CONSUL_PORT:-8500}:8500"
|
||||
command: agent -server -ui -node=server-1 -bootstrap-expect=1 -client=0.0.0.0
|
||||
networks:
|
||||
- meldestelle-network
|
||||
@@ -114,10 +114,11 @@ services:
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE:-dev}
|
||||
CONSUL_HOST: consul
|
||||
CONSUL_PORT: 8500
|
||||
CONSUL_PORT: ${CONSUL_PORT:-8500}
|
||||
CONSUL_ENABLED: true
|
||||
GATEWAY_PORT: ${GATEWAY_PORT:-8081}
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "${GATEWAY_PORT:-8081}:${GATEWAY_PORT:-8081}"
|
||||
depends_on:
|
||||
consul:
|
||||
condition: service_healthy
|
||||
@@ -135,6 +136,7 @@ services:
|
||||
start_period: 30s
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
# ===================================================================
|
||||
# Volumes
|
||||
# ===================================================================
|
||||
|
||||
Reference in New Issue
Block a user