skip to Main Content

Docker postgres java.io.EOFException: null when trying to connect

I have my Dockerfile and docker-compose.yml configured to start my two services - this is my postgres db and Spring Boot app. Dockerfile: FROM openjdk:8-jdk-alpine ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/ RUN export JAVA_HOME COPY ./init.dump /docker-entrypoint-initdb.d/ RUN chmod 0755 /docker-entrypoint-initdb.d/init.dump COPY target/endlessblow-server-1.0-SNAPSHOT.jar…

VIEW QUESTION
Back To Top
Search