guillaumebriday
traefik-docker-ansible
HTML

🐳 🐹  This is an Ansible playbook to install multiple Web applications on a single Ubuntu server with Docker and Traefik.

Last updated Mar 10, 2026
98
Stars
25
Forks
0
Issues
0
Stars/day
Attention Score
27
Language breakdown
HTML 100.0%
Files click to expand
README

Ansible: Multiple applications with Traefik 2.x and Docker

This is an Ansible playbook to install multiple applications on a single Ubuntu server with Docker and Traefik 2.x updated with Watchtower.

Requirements

  • Ansible >= 2.5

Tools

This playbook is designed to install a bunch of useful tools:

Installing on production

Copy the hosts example file and change the values to your needs:

$ cp hosts.example.ini hosts.ini

Setup your variables in the playbook.yml file.

Then run the playbook:

$ ansible-playbook -i hosts.ini playbook.yml

For one role only

$ ansible-playbook -i hosts.ini playbook.yml --tags "traefik"

Example

I use this playbook to deploy Traefik and Docker in production to host self-hosted services.

Contributing

Do not hesitate to contribute to the project by adapting or adding features ! Bug reports or pull requests are welcome.

License

This project is released under the MIT license.

🔗 More in this category

© 2026 GitRepoTrend · guillaumebriday/traefik-docker-ansible · Updated daily from GitHub