ERROR Connection to localhost:5432 refused
При попытке запустить docker-compose с 2 контейнерами, контейнер с java почему то стучится в localhost:5432, хотя я указал другую переменную среды: Dockerfile: FROM openjdk:22 ARG APP_JAR=target/*.jar ADD ${APP_JAR} course.jar EXPOSE 8080 ENTRYPOINT ["java", "-jar", "course.jar"] docker-compose.yml: version: "3.9" services: course_pg_17: image: postgres restart: always container_name: course_pg_17 ports: - "5433:5432" environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: