Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marky-mark/waitrypoint

A handy entry script for docker containers which need to wait on other services to be up for docker compose.
https://github.com/marky-mark/waitrypoint

await awaitility compose docker dockercompose entry entrypoint wait

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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 "
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`