How I run this blog with docker
Lets talk about this blog and how it is running.
My blog is powered by:
- php 7
- nginx reverse proxy (this maps the domain milmike.com with a specific docker container)
- https with letsencrypt (free ssl certificates)
- http2 protocoll
I will show you how I managed to run this blog using these technologies but before that, you might ask yourself: why? why so “complicated”?
Thats not really complicated. I think it is even much simpler than installing everything from scratch. You don’t have to install apache, php, configure your apache, mysql etc.. the only thing you need is docker and a docker-compose.yml file. And you can quickly migrate to another server or work easily locally with the exact same installation as in production. Thats actually how I work most of the time. Since I discovered docker, I use it for dev and prod.