Traefik 3 is soon available in stable version, you can find the changes on this branch
Make sure you have Docker and docker-compose installed and your DNS records set up
git clone https://github.com/raph6/docker-traefik.git
cd docker-traefik
cd traefik
# create acme.json
touch traefik/acme/acme.json
chmod 600 traefik/acme/acme.json
# create your admin user file
htpasswd -B -C 14 -c traefik/basicAuth/.admin *your-username*
htpasswd
can be found in the package apache2-utils
sudo apt-get install apache2-utils
(adjust for your distribution)
In Traefik folder:
Make .env
file on the same model as .env.exemple
docker-compose up -d
or
EMAIL=your@email.com TRAEFIK_URL=traefik.yourdomain.tld docker-compose up -d
Feel free to ask for another project
HTTPS is enabled by default, your certificates are generated and automatically renewed
PR are welcome