SOLIDNERD / BOOKSTACK & REDIS - Container is up befor REDIS is ready
Hi, thx for your great work on this Image :)
I have a Problem to use REDIS with your Image. The Bookstack Conatiner is already on befor REDIS is ready. In my compose file is the bookstack container depend on redis and mariadb.
Can U help me :)
greetz Chris
Hi Chris. Sound like this is a Docker Compose issue rather than one with this container, but I'll still try and help. Can you attach a copy of your Compose file?
The depends_on field in a Compose file does not wait until a container is "ready", only until it's running. You might need to leverage the condition attribute with service_healthy, similar to this example. Note that you'll need a healthcheck configured for your Redis container in order to use this.