Skip to content

mtizima/wait-for-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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