Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guillaumebriday/traefik-docker-ansible
🐳 🐹 This is an Ansible playbook to install multiple Web applications on a single Ubuntu server with Docker and Traefik.
https://github.com/guillaumebriday/traefik-docker-ansible
ansible ansible-roles docker homelab reverse-proxy self-hosted traefik
Last synced: 20 days ago
JSON representation
🐳 🐹 This is an Ansible playbook to install multiple Web applications on a single Ubuntu server with Docker and Traefik.
- Host: GitHub
- URL: https://github.com/guillaumebriday/traefik-docker-ansible
- Owner: guillaumebriday
- License: mit
- Created: 2017-10-22T11:48:52.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-24T22:31:08.000Z (almost 4 years ago)
- Last Synced: 2024-12-21T19:12:15.158Z (21 days ago)
- Topics: ansible, ansible-roles, docker, homelab, reverse-proxy, self-hosted, traefik
- Language: HTML
- Homepage:
- Size: 83 KB
- Stars: 91
- Watchers: 10
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - guillaumebriday/traefik-docker-ansible - 🐳 🐹 This is an Ansible playbook to install multiple Web applications on a single Ubuntu server with Docker and Traefik. (HTML)
README
# Ansible: Multiple applications with Traefik 2.x and Docker
![](https://github.com/guillaumebriday/traefik-docker-ansible/workflows/Lint/badge.svg)
This is an [Ansible](https://www.ansible.com) playbook to install multiple applications on a single Ubuntu server with [Docker](https://www.docker.com) and [Traefik 2.x](https://traefik.io) updated with [Watchtower](https://github.com/v2tec/watchtower).
## Requirements
+ Ansible >= 2.5
## Tools
This playbook is designed to install a bunch of useful tools:
+ [Docker](https://www.docker.com)
+ [Traefik 2.x](https://traefik.io)
+ [Watchtower](https://github.com/containrrr/watchtower)## Installing on production
Copy the hosts example file and change the values to your needs:
```bash
$ cp hosts.example.ini hosts.ini
```Setup your variables in the `playbook.yml` file.
Then run the playbook:
```bash
$ 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](https://github.com/guillaumebriday/selfhosted-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](http://opensource.org/licenses/MIT) license.