Gitlab Community Edition Instance

Skip to content

Docker image: Postgres not ready when trying to connect

With the current deploy environment, the Grady Docker container has a dependency on Postgres. However, sometimes the Postgres container is already running but does not accept connections yet. In deploy.sh the migrations are executed as soon as the Grady container starts. We should put this in a loop that tries to apply the migrations until the migration was successful.

Edited by Dominik Seeger