Skip to content

sph3rex/docker_pywait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

docker_pywait

A wait script written in python for docker/docker-compose services Tested for now only with python 2.7 and 3.6

Usage

Using string-check

python pywait.py string-check --string "Service started" --url "http://whatever.service"

Using connection

python pywait.py connection --spec tcp:some_service:3306 --spec udp:some_other_service:3306

Customize timeouts, retries and exit code errors

python pywait.py --retries 15 --timeout 6 --exit-code 124 connection --spec tcp:some_service:3306

Quiet any output

python pywait.py --quiet connection --spec tcp:some_service:3306

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages