infrastructure/ansible/roles/traefik/files/docker-compose.yml
Jake Howard 6973fb536f
Add fail2ban for traefik
Remote action coming soon
2021-03-28 13:05:38 +01:00

13 lines
321 B
YAML

version: "2.3"
services:
traefik:
image: traefik:v2.4
network_mode: host
environment:
- CF_DNS_API_TOKEN={{ cloudflare_api_token }}
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /tmp/traefik-logs:/var/log/traefik
- ./traefik:/etc/traefik
restart: unless-stopped