diff --git a/infrastructure/shared/docker-compose.yml b/infrastructure/shared/docker-compose.yml index 7b9ecb0a82..7dbe179c6e 100644 --- a/infrastructure/shared/docker-compose.yml +++ b/infrastructure/shared/docker-compose.yml @@ -16,7 +16,7 @@ services: - ./postgres/init-script.sh:/docker-entrypoint-initdb.d/init-script.sh - ./postgres/max_conns.sql:/docker-entrypoint-initdb.d/max_conns.sql ports: - - "${PG_PORT:-5432}:5432" + - "127.0.0.1:${PG_PORT:-5432}:5432" healthcheck: test: ["CMD", "pg_isready", "-U", "postgres", "-d", "agent"] interval: 10s @@ -32,7 +32,7 @@ services: volumes: - pgadmin:/var/lib/pgadmin ports: - - "${PGADMIN_PORT:-5050}:80" + - "127.0.0.1:${PGADMIN_PORT:-5050}:80" depends_on: db: condition: service_healthy