All articles tagged as:

ghost

How I Dockerised my blog

Docker is a fantastic tool and great if you're running a VPS like me. However a common question is... What if I want to be able to run multiple sites from a single VPS? Most websites running in containers listen on port 80 by default. Only one of them can be bound to that port at a time, so whats the answer? Well, unless you want to access your websites using addresses such as www.example.com:1234. Then a reverse proxy is the answer. Nginx will be our reverse proxy. It will take all incoming requests and route them to the correct container via Dockers VIRTUAL_HOST variable. Prerequisites You w…

Read more »