version: '3.8' services: traefik: image: traefik:2.3 ports: - "80:80" - "443:443" - "8080:8080" networks: - web volumes: - /var/run/docker.sock:/var/run/docker.sock - ./conf/traefik.toml:/etc/traefik/traefik.toml:ro - ./conf/acme.json:/acme.json - ./conf/custom:/etc/traefik/custom:ro networks: web: external: true