version: "3.8" services: traefik: image: traefik:v2.9.6 restart: always ports: - 80:80 - 443:443 volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - ${DATA_PATH}/letsencrypt:/letsencrypt - ${DATA_PATH}/config/:/etc/traefik container_name: traefik labels: - "co.elastic.logs/module=traefik" - "co.elastic.logs/fileset=access" networks: default: name: proxy