infrastructure/ansible/roles/traefik/files/docker-compose.yml
2020-04-30 21:50:18 +01:00

12 lines
274 B
YAML

version: "2.3"
services:
traefik:
container_name: traefik
image: traefik:v2.2.1
# command: "--log.level=DEBUG"
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik:/etc/traefik
restart: unless-stopped