diff --git a/docker-compose.yml b/docker-compose.yml index 3a2e244..4b95db1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: volumes: - postgres_data:/var/lib/postgresql/data ports: - - "5432:5432" + - "127.0.0.1:5432:5432" healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 10s @@ -40,7 +40,7 @@ services: postgres: condition: service_healthy ports: - - "5001:5001" + - "127.0.0.1:5001:5001" healthcheck: test: ["CMD-SHELL", "wget -qO- http://localhost:5001/api/v1/health || exit 1"] interval: 30s