networks: proxy-net: external: true services: traefik: image: "traefik:latest" container_name: "traefik" restart: unless-stopped networks: - proxy-net ports: - "80:80" - "443:443" - "8080:8080" volumes: - /var/run/docker.sock:/var/run/docker.sock - ./containers_storage/traefik:/etc/traefik