diff --git a/docker/images/main/wait-for-postgres.sh b/docker/images/main/wait-for-postgres.sh deleted file mode 100644 index ae7e32c9..00000000 --- a/docker/images/main/wait-for-postgres.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -e - -until psql -h "$POSTGRES_HOST" -U "$POSTGRES_USERNAME" -d "$POSTGRES_DATABASE" -c '\q'; do - >&2 echo "Waiting for Postgres to be ready..." - sleep 1 -done - ->&2 echo "Postgres is up - executing command" -exec "$@" diff --git a/docker/images/worker/wait-for-postgres.sh b/docker/images/worker/wait-for-postgres.sh deleted file mode 100644 index ae7e32c9..00000000 --- a/docker/images/worker/wait-for-postgres.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -e - -until psql -h "$POSTGRES_HOST" -U "$POSTGRES_USERNAME" -d "$POSTGRES_DATABASE" -c '\q'; do - >&2 echo "Waiting for Postgres to be ready..." - sleep 1 -done - ->&2 echo "Postgres is up - executing command" -exec "$@"