Skip to content

guillaumebriday/traefik-docker-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages