This is an example on how to use Træfik with a wordpress site, or a node web app. This is with a Lets Encrypt setup, handled by Træfik.
I really need a nice name, but it's hard.
First you need docker, and that's pretty much it. Then just follow these steps:
docker network create web
Creates the web-network that we will use across docker containers.cd treafik
&docker-compose up -d
, this starts the load balancer.cd wordpress
&docker-compose up -d
, this starts the wordpress website.
You can have all the sites you like, this should be no problem, just update the labels for docker.