Skip to main content

Wait for PostgreSQL to be available before startup docker container.

Project description

wait-for-utils

Python Main Release

Wait for service(s) to be available before startup docker container.

Installation

pip install wait-for-utils

Usage

PostgreSQL

Example:

wait-for-postgres -

Additional documentation:

wait-for-postgres --help

By default, all settings are taken from the environment variables.

  • POSTGRES_DB
  • POSTGRES_USER
  • POSTGRES_PASSWORD
  • POSTGRES_HOST
  • POSTGRES_PORT
  • POSTGRES_CHECK_TIMEOUT
  • POSTGRES_CHECK_INTERVAL

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wait-for-utils-0.1.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

wait_for_utils-0.1.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page