Sha256: 34b15acf2c3fbce966ea623686aba85e2222cde3474106b352944b914572decf

Contents?: true

Size: 287 Bytes

Versions: 67

Compression:

Stored size: 287 Bytes

Contents

#!/bin/bash

cmd="$@"

echo "=> Waiting for postgres"

RUBYPITAYA_DATABASE_HOST=${RUBYPITAYA_DATABASE_HOST:-'db'}
RUBYPITAYA_DATABASE_PORT=${RUBYPITAYA_DATABASE_PORT:-5432}

./docker/wait_for.sh $RUBYPITAYA_DATABASE_HOST:$RUBYPITAYA_DATABASE_PORT

echo "=> Postgres is ready"

exec $cmd

Version data entries

67 entries across 63 versions & 1 rubygems

Version Path
rubypitaya-3.19.6 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.19.5 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.19.4 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.19.3 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.19.2 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.19.1 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.19.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.18.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.17.2 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.17.1 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.17.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.16.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.15.3 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.15.2 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.15.1 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.15.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.14.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.13.1 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.13.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/docker/entrypoint.sh