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 details)
Built Distribution
File details
Details for the file wait-for-utils-0.1.0.tar.gz
.
File metadata
- Download URL: wait-for-utils-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.7.10 Linux/5.4.0-1039-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b96263ec3db0ac2906415ad33db9d883f2f9adf25104626ef47dc501214b3651 |
|
MD5 | 10a9829f281e0191f329a1e8b31e0681 |
|
BLAKE2b-256 | bdda14c9e945bbc3b54d1b7073fae1de805047192006ef7caf4afe2620402cc7 |
File details
Details for the file wait_for_utils-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: wait_for_utils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.7.10 Linux/5.4.0-1039-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42d7b602c16528adfc9aa3a5ca260f03df25f4204fddd1bbd66067c3d9891384 |
|
MD5 | ac5002a4e6c683d65d1b7af17e661a7d |
|
BLAKE2b-256 | b8d656a6d877ad465f866aaf779da4e35b75b7189a7bdea59f0d003eb811f39d |