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-2.26.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.25.1 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.25.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.24.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.23.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.22.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh
rubypitaya-2.21.0 ./lib/rubypitaya/app-template/docker/entrypoint.sh