Sha256: 0cfeee3da3fbb74431aa3abe17e5e3a7ecbc188e85fb3655b0367c8c9d82fbc3

Contents?: true

Size: 255 Bytes

Versions: 60

Compression:

Stored size: 255 Bytes

Contents

#!/bin/bash

cmd="$@"

echo "=> Waiting for postgres"
until PGPASSWORD=$DATABASE_PASSWORD psql -h "$DATABASE_HOST" -U "$DATABASE_USER" -c '\q' > /dev/null 2>&1; do
  echo "=> Waiting for Postgres..."
  sleep 1
done

echo "=> Postgres is ready"

exec $cmd

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
rubypitaya-2.18.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.17.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.16.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.15.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.14.1 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.14.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.13.1 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.13.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.12.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.11.2 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.11.1 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.11.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.10.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.9.3 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.9.2 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.9.1 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.9.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.8.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.7.5 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.7.4 ./lib/rubypitaya/app-template/docker/entrypoint.sh