Author name: Manuel Bogner

keycloak in docker compose with healthcheck

Docker images from quay.io/keycloak/keycloak don’t contain any commands for a usual healthcheck and installing software is also not trivial. In a discussion on https://github.com/keycloak/keycloak/issues/17273 I found a solution that checks /proc/net/tcp for an open port 8080. That file contains all open ports in hex format. cat and grep are included in the image. So a […]

keycloak in docker compose with healthcheck Read More »

docker pull proxyconnect tcp: dial tcp: lookup http.docker.internal on 192.168.65… timeout

After upgrading to macOS 14.1 my docker installation stopped woring and when I tried to pull an image it answered with the following error message: 192.168.65.0/24 is the configured docker internal network of Docker Desktop. It was running on defaults and I wasn’t aware of any manual changes. DNS of my host system worked properly:

docker pull proxyconnect tcp: dial tcp: lookup http.docker.internal on 192.168.65… timeout Read More »

Intellij stuck with indexing

My intellij 2023.2 continued to repeatedly index something and it was obvious that it was the same again and again. The typical suggestions to invalidate caches plus restart didn’t work. Then I found the suggestion to edit the custom properties file via Help > Edit Custom Properties and add the following: Taken from https://www.jetbrains.com/help/objc/configuring-file-size-limit.html this

Intellij stuck with indexing Read More »

Redis Testcontainer with Kotlin and Spring Boot

I found lots of samples for creating a redis testcontainer in Spring Boot tests. But none of them really worked. Below is a working base class with a sample. It is based on Spring Boot 3.1.2 and latest testcontainer version at time of writing (“org.testcontainers:testcontainers:1.18.3”). The testcontainer-redis versions were avoided on purpose because they were

Redis Testcontainer with Kotlin and Spring Boot Read More »