The Wayback Machine - https://web.archive.org/web/20210124090641/https://github.com/guillaumebriday/traefik-docker-ansible
Skip to content

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

master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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.

About

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

Topics

Resources

License

Sponsor this project

Packages

No packages published