Docker-compose support with ordered and delayed startup#22
Docker-compose support with ordered and delayed startup#22Brian Towles (wonderslug) wants to merge 2 commits intoconfluentinc:masterfrom
Conversation
Brian Towles (wonderslug)
commented
Feb 8, 2016
- Added dockerize to platform to allow containers to wait for services to be available
- Added docker-compose file for single command ordered start-up.
for services to be available - Added docker-compose file for single command ordered start-up.
|
It looks like Brian Towles (@wonderslug) hasn't signed our Contributor License Agreement, yet. Appreciation of efforts, clabot |
|
Not sure why the CLA was not posted in the bot's response, but this PR would be of interest to me instead of manually restarting the schema registry. Brian Towles (@wonderslug) you can find the CLA here: http://clabot.confluent.io/cla |
|
Hey Matt! Thanks for the pull request. Have you looked at On Mon, Jun 13, 2016, 5:15 PM Matt Maybeno notifications@github.com wrote:
|
|
Hi Jeremy Custenborder (@jcustenborder). I'm actually not the maintainer of the PR but I have found it's solution useful. The problem with the docker-compose.yml file in examples/fullstack is that they are all started in the correct order, but there is no delay in making sure each service is up before proceeding. What that does is fail kafka, schema registry, and the rest proxy. The current solution is to just restart those in order. The PR pulls in dockerize which will delay each service till they are fully up. I had planned to do something similar polling the zookeeper port till it was open but this is a much better solution. |
|
Thanks Matt Maybeno (@mmaybeno)! I was on my phone when I responded so It looked like the request was from you. We'll take a look at dockerize. |
|
I've been hacking on it a bit as well so if I have a good solution I'll make another PR. I noticed this one is based off an old master commit. |
|
ended up making my own version using dockerize: |