Skip to content

Ansible playbook to install docker on debian/ubuntu and set up Traefik as a proxy

License

Notifications You must be signed in to change notification settings

UoGSoE/ansible_docker_traefik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

To run this, assuming you have ansible installed - first change the IP address to match the primary interface on your server in install_docker.yml on the line (I'm sure there's a more 'ansible' way to get the IP...) :

shell: docker swarm init --advertise-addr=192.168.1.34

And change the hostname ("Host(traefik.192.168.1.34.xip.io)") and password for the traefik dashboard in traefik.yml (there is a little explanation of how to do it in the file). Then run the playbook against the same IP :

ansible-playbook install_docker.yml -i 192.168.1.34,

(Note the trailing ,)

About

Ansible playbook to install docker on debian/ubuntu and set up Traefik as a proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published