Skip to content

intellihr/dbwait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbwait

Simple tool to wait until dbs are alive

Usages

    dbwait <db_urls>... --timeout <timeout>

The following command wait until both db1 and db2 are available (with 10s timeout)

  dbwait -t 10 postgresql://db1:5432 postgresql://db2:5432

Use in Dockerfile

RUN curl -L https://github.com/intellihr/dbwait/releases/download/v0.0.1/dbwait > /usr/local/bin/dbwait && \
    chmod +x /usr/local/bin/dbwait

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published