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

13 lines
278 B
YAML
Raw Normal View History

2020-03-08 18:12:12 +00:00
version: "2.3"
2020-02-02 21:10:29 +00:00
services:
traefik:
2021-01-20 20:33:57 +00:00
image: traefik:v2.4
2020-02-02 21:10:29 +00:00
network_mode: host
environment:
- CF_DNS_API_TOKEN={{ cloudflare_api_token }}
2020-02-02 21:10:29 +00:00
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik:/etc/traefik
restart: unless-stopped