Code Monkey home page Code Monkey logo

traefik-docker-ansible's Introduction

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.

traefik-docker-ansible's People

Contributors

guillaumebriday avatar bzhazreal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.