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

Reactively write to redis in `REDISJSON` format

I am using ReactiveRedisOperations with the driver of lettuce to write to Redis. @Autowired ReactiveRedisOperations<String, Foo> redisOperation; public Mono<Boolean> save(Foo foo) { redisOperation.map(operation -> operation .opsForValue() .set(foo.getId(), foo); return Mono.just(true); } The serialization is defined as private <T> ReactiveRedisOperations<String, T>…

VIEW QUESTION
Back To Top
Search