hjrnunes / traefik-docker-ansible

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible : Multiple Websites with Traefik and Docker

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

Requirements

  • Ansible >= 2.5

Applications

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

  • Curl
  • Docker
  • Docker-compose
  • Git
  • htop
  • ntp
  • tmux
  • Traefik
  • Vim
  • ZSH + Oh My Zsh with "ys" theme + zsh-autosuggestions plugin

Installing on production

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

$ cp hosts.example hosts

Setup your variables in the playbook.yml file.

Then run the playbook :

$ ansible-playbook -i hosts playbook.yml

Contributing

There is still a lot of work to do !

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.

License:MIT License