traefik: image: traefik:v2.10.4 container_name: traefik security_opt: - no-new-privileges:true ports: - "80:80" - "443:443" - "8080:8080" volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - ./traefik/traefik.yml:/etc/traefik/traefik.yml:ro networks: - opencloud-net restart: unless-stopped labels: - "traefik.enable=true"