version: "3" services: traefik: container_name: traefik_traefik image: traefik:latest restart: "no" networks: - web ports: - 80:80 - 443:443 volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - ./traefik.yaml:/traefik.yaml - ./config:/config - $DOCKER_DATA/acme.json:/acme.json networks: web: external: true