Virtual Hosts with Docker?

It won’t be long till I’ll get my new virtual server with docker support. Right now I’m using apache with virtual hosts to redirect from different domains to different web applications.  The questions arises: How can I do the redirection with web applications inside docker instances? This blog article shall document my investigations into this topic. I’ll revisit it after some hands on experience. Right now it’s just the result of web research.

Automated nginx proxy for Docker containers using docker-gen

nginx-proxy sets up a container running nginx and docker-gen. docker-gen generates reverse proxy configs for nginx and reloads nginx when containers are started and stopped.

You can find the project on github.

Advertisements

Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: