Skip to content

A handy entry script for docker containers which need to wait on other services to be up for docker compose.

Notifications You must be signed in to change notification settings

marky-mark/waitrypoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

waitrypoint

This is a wait entrypoint! A handy entry script for docker containers which need to wait on other services to be up, maily for docker compose.

How it works

Before executing the jar, has some awaitility if preceded by "wait <number_of_apps> <app_address> <app_port> <app_name>" The jar will not get executed unless these addresses can be reached. After this the arguments are trimmed off and any trailing arguments will be passed as command line arguments to be executed.

Example: wait 2 localhost 9042 cassandra localhost 8080 myapp java -jar app.jar -DFOO=bar

About

A handy entry script for docker containers which need to wait on other services to be up for docker compose.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages