Wait for PostgreSQL to be available before startup docker container.
Project description
wait-for-utils
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for wait_for_utils-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42d7b602c16528adfc9aa3a5ca260f03df25f4204fddd1bbd66067c3d9891384 |
|
MD5 | ac5002a4e6c683d65d1b7af17e661a7d |
|
BLAKE2b-256 | b8d656a6d877ad465f866aaf779da4e35b75b7189a7bdea59f0d003eb811f39d |