Skip to content
Snippets Groups Projects
Commit 2392014b authored by Simon Afonso's avatar Simon Afonso
Browse files

Update file traefik.yml

parent fd1d4283
Branches master
No related tags found
No related merge requests found
---
- name: Deploy traefik v2.5
hosts: "{{ my_hosts | d([]) }}"
tasks:
- name: Deploy traefik
community.docker.docker_container:
name: traefik
image: "traefik:v2.5"
ports:
- "80:80"
- "443:443"
volumes:
- /run/docker.sock:/run/docker.sock
- /etc/traefik:/etc/traefik
restart_policy: unless-stopped
become: true
become_user: "{{ lookup('env', 'USER') }}"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment