Skip to content
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

question: is this to run outside or inside the haproxy docker container? #2

Open
drnic opened this issue Aug 18, 2013 · 1 comment
Open

Comments

@drnic
Copy link

drnic commented Aug 18, 2013

From a quick read of the readme & some source, it looks like you need to run these scripts inside the docker haproxy container. Correct?

If so, can you think of ways where configuration of the container can be scripted from outside of the container? Manually finding & going inside containers and running commands doesn't seem very modern :)

@aschmidt75
Copy link
Owner

Hi there,
well you actually could - i intended to run it outside of containers. My picture of this is having a vm with a number of containers, and a balancing solution (like haproxy) at the vm level, to proxy among the containers.
Of course the haproxy can itself run in a container, but then it would probably not be able to query the docker api (unless you expose the api on the internal docker network). Or you expose the filesystem where haproxy.cfg is to the vm level, and modify it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants