docker_traefik
Ansible Role: Install traefik proxy as a Docker container
An Ansible role to install traefik proxys as a Docker container.
Requirements
This role requires Ansible 1.2 or higher.
Role variables
Ansible variables are listed below with their default values.
traefik_certificates: []
traefik_docker_domain
traefik_group: root
traefik_dir: /etc/traefik
traefik_network: traefik
traefik_user: root
traefik_volumes: []
acme_email: "[email protected]"
acme_domains:
- domain: mydomain.com
sans:
- www.mydomain.com
acme_logging: true
acme_staging: false
Example playbook
---
- hosts: webservers
roles:
- dzangolab.docker_traefik
traefik_certificates:
-
{
CertFile: "/path/to/certificate.crt",
KeyFile: "/path/tto/keyfile.key"
}
traefik_docker_domain: mydomain.com
traefik_network: mydomain
traefik_volumes:
- /etc/ssl:/etc/ssl
License
MIT
Install
ansible-galaxy install opichon/ansible-docker-traefik
License
mit
Downloads
361
Owner
Entrepreneur & CTO
Since 2003, I have helped SMEs and startups in all their IT-related needs.