infrastructure/ansible/roles/docker/files/traefik/docker-compose.yml

13 lines
272 B
Docker
Raw Normal View History

2020-02-02 21:10:29 +00:00
version: "3"
services:
traefik:
container_name: traefik
image: traefik:v2.1.4
2020-02-02 22:30:48 +00:00
# command: "--log.level=DEBUG"
2020-02-02 21:10:29 +00:00
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik:/etc/traefik
restart: unless-stopped