-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: docker-compose #8
Comments
Hi @dirkmoors - sorry for the super late update. Docker compose is a nice addition. Do you think you can update your example with the latest 0.6.1 release? Happy to merge this into our repo. |
@thefosk if @dirkmoors doesn't I don't mind picking up the torch there. I'm half way through as it is of doing almost the same thing. |
This will not work with a cold cassandra container, since cassandra is still bootstrapping whilst it is linked into the kong container. With
This is due to a lack in feature of docker really, it should allow you to listen for exposed ports to be opened. So for the moment being I would suggest a small bootstrap wrapper on the kong container. The following works for me, but you might want to add some timeout on that loop to catch missconfiguration (e.g. wrong alias/missing cassandra):
At this point, it would probably be best to use entrypoint instead of command on the kong image in order to avoid the extra shell. |
Somebody suggested using |
Or use |
Available now for 0.9 in the |
Hello,
I've created a docker-compose setup, together with a 'install kong from git source' Dockerfile.
https://github.com/vikingco/docker-kong
Is that something you guys can use? Then we might consider integrating my approach into this repository (and deprecating my repository)
Cheers
The text was updated successfully, but these errors were encountered: