diff --git a/app/docker-entry.sh b/app/docker-entry.sh index 7574888..44179a6 100644 --- a/app/docker-entry.sh +++ b/app/docker-entry.sh @@ -10,13 +10,15 @@ else echo SKIP fi -# Wait to avoid "panic: Failed to open sql connection pq: the database system is starting up" echo "Wait until database is ready..." until nc -z db $DB_PORT_5432_TCP_PORT do sleep 1 done +# Wait to avoid "panic: Failed to open sql connection pq: the database system is starting up" +sleep 1 + echo "Starting platform" cd /mattermost/bin ./platform