Kris Lamoureux
f04f3acc58
Removed traefik.yml in favor of label based configuration and changed hosts to moxietest
13 lines
368 B
YAML
13 lines
368 B
YAML
- name: Start Traefik container
|
|
docker_container:
|
|
name: "{{ traefik_name }}"
|
|
image: traefik:{{ traefik_version }}
|
|
command: --api.insecure=true --providers.docker
|
|
state: started
|
|
restart_policy: always
|
|
ports:
|
|
- "{{ traefik_port }}:80"
|
|
- "{{ traefik_admin_port }}:8080"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|