- Assumes Docker and Docker Compose are installed on the host
Create a playbook (traefik.yml
) from this role:
---
- name: Install and configure Traefik reverse-proxy
hosts: <your host group or individual host>
roles:
- role: roles/traefik
traefik_domain: "mydomain.org"
traefik_acme_email: "user@mydomain.org"
traefik_dashboard_basicauth_users: ["user:$$apr1$$somehash"]