Defining Cloudflare email and key without docker-compose?

I am running Traefik on Ubuntu LXC using systemd traefik.service, traefik.yml on /etc/traefik and dynamic configuration files on /etc/traefik/config.

Everything works as expected, except for one "minor" issue:

  • I am not able to get ACME certificates using dnschallenge because cloudflare CF_API_EMAIL and CF_API_KEY are missing/not defined.

Is there any way to define those two environment values in this setup? I.e. without using docker and docker-compose?

Thanks a lot

after for this the last few days, I found a way to set Environment variables on the [Service] section of traefik.service file!!!