Simpliest Traefik container configuration to run your sites behind.
🔥 Looking for cool t-shirts for web developers?
Check out my Devnull Clothing.
In case you want to run Traefik container under different user just create it and add it to docker group:
sudo mkdir /home/traefik
sudo groupadd traefik
sudo useradd -g traefik -d /home/traefik traefik
sudo passwd traefik
sudo usermod -s /bin/bash traefik
sudo chown -R traefik:traefik /home/traefik
sudo chmod -R 0775 /home/traefik
sudo usermod -a -G docker traefik
First pull.
git clone https://github.com/lucien144/just-traefik.git .
Then edit all lines with comment # Edit this line!
in traefik.toml
and traefik_dynamic.toml
.
./run.sh
Just run the same command again:
./run.sh