Environment variable syntax in traefik.yml

The Static Configuration: Environment variables section of the Traefik docs helped me when I encountered the same issue as the OP. In particular it was TRAEFIK_CERTIFICATESRESOLVERS_<NAME>_ACME_EMAIL which I needed to set. You can override any of the Traefik environment variables with your own using any of the Ways to set environment variables with Compose.