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

use docker network to avoid --link and more. #751

Open
wants to merge 3 commits into
base: mupx
Choose a base branch
from

Conversation

atoy40
Copy link

@atoy40 atoy40 commented Nov 12, 2015

Hello,

I've started to modified mupx (starting from the v1.5.3 tag) to use a docker bridge network to inter-connect mup application containers and mongodb container.

A "mupnet" network is first created (install-docker.sh)
Then each container is started with --net=mupnet (no more --link in the useLocalMongo case) so each container knows others by name automatically (through a dynamically computed /etc/hosts).

I've not yet looked for the ssl frontend container, but have an idea. Tell me what you think about it :
The goal could be to have only one frontend container, common to all app containers which is automatically reconfigured with a new vhost when new meteor containers are created/started (using docker events and a small script). The frontend can handle ssl and no-ssl and proxy named vhost toward meteor containers (as there are in the same docker net).

Anthony.

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

Successfully merging this pull request may close these issues.

2 participants