Environment variables

hi there,

i am using traefik 2.40 without any docker Environment. therefore i am configuring everything over the toml file. I am stucked at the moment how to bring Environment variables to the toml file or even hardcode them into it. Its about the configuration fro the acme challange like:

environment:

  • "OVH_ENDPOINT=[YOUR_OWN_VALUE]"
  • "OVH_APPLICATION_KEY=[YOUR_OWN_VALUE]"
  • "OVH_APPLICATION_SECRET=[YOUR_OWN_VALUE]"
  • "OVH_CONSUMER_KEY=[YOUR_OWN_VALUE]"

any hints how to do that? sorry but i could not find anywhere in the help and i am guessing its easy and only caused to my lag of programming knowledge?!

regards and big thx.
Seb

The lego driver expects these as environment variables. Set them in a script that invokes traefik or modify the systemd unit.

workes perfect!

Big THX.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.