services: traefik: image: traefik:v2.10 container_name: traefik restart: always environment: - DOCKER_API_VERSION=1.44 ports: - "80:80" - "443:443" - "8080:8080" # Dashboard Traefik (remover em produção se exposto) command: - "--configFile=/etc/traefik/traefik.yml" volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - ./:/etc/traefik/:ro - ./acme.json:/acme.json networks: - proxy_network networks: proxy_network: external: false name: proxy_network