Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/marky-mark/waitrypoint
- Owner: marky-mark
- Created: 2018-08-17T14:31:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-17T15:02:47.000Z (over 6 years ago)
- Last Synced: 2024-10-12T12:23:52.230Z (3 months ago)
- Topics: await, awaitility, compose, docker, dockercompose, entry, entrypoint, wait
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`