Traefik Getting Started

Posted on

it’s a crappy reminder to create Ansible playbook

test

systemctl status traefik
traefik -c /srv/config/traefik/traefik.toml

configuration

cd /srv/config/
mkdir traefik
vi traefik/traefik.toml

install

cd /opt
wget https://github.com/containous/traefik/releases/download/v1.3.8/traefik_linux-amd64
mv traefik_linux-amd64 traefik
mv traefik /usr/sbin/.
chmod +x /usr/sbin/traefik
/usr/sbin/traefik
systemctl restart traefik