🐳 πŸš€ This is an Ansible playbook to install multiple Web applications on a single Ubuntu server with Docker and Traefik.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
roles Updating schedule for Watchtower Dec 6, 2018
.gitignore Adding the playbook.retry in gitignore Mar 29, 2018
LICENSE License for 2018 Feb 8, 2018
README.md Updating the readme Nov 12, 2018
hosts.example Removing Vagrant related code Nov 12, 2018
playbook.yml Adding a user role for security purpose Nov 13, 2018

README.md

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.