-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment Variables #10759
Comments
Its much easier without the Bugreport-Form, to tell what the issue is. The documentation lacks a bit about the Environment Variables either, like how to add multiple dns resolver servers. TRAEFIK_CERTIFICATESRESOLVERS_default-storage=true --> So the workaround: simply configure that resolver via toml, but why the document page lists that there are environment variables for that? Thanks everyone, great work with Traefik :-) |
Hello,
https://doc.traefik.io/traefik/getting-started/configuration-overview/#the-static-configuration So you cannot use a file and env vars simultaneously. |
Thank you a lot, sorry for the stupid bugreport! |
Welcome!
What did you do?
Setting up Environment Variables to Configure the "default-storage" Certificate resolver.
TRAEFIK_CERTIFICATESRESOLVERS_default-storage=true
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_DNSCHALLENGE=true
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_DNSCHALLENGE_DELAYBEFORECHECK=10
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_DNSCHALLENGE_PROVIDER=ovh
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_DNSCHALLENGE_RESOLVERS=ns12.ovh.net
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_EMAIL="edv@mydomain.de"
What did you see instead?
ERR Router uses a non-existent certificate resolver certificateResolver=default-storage routerName=api@file
What version of Traefik are you using?
Version: 3.0.1
Codename: beaufort
Go version: go1.22.3
Built: 2024-05-22T13:12:16Z
OS/Arch: linux/amd64
What is your environment & configuration?
Environment Variables:
LEGO_DISABLE_CNAME_SUPPORT=true
OVH_ENDPOINT=ovh-eu
OVH_APPLICATION_KEY=xxxx
OVH_APPLICATION_SECRET=xxxxx
OVH_CONSUMER_KEY=xxxxxx
TRAEFIK_CERTIFICATESRESOLVERS_default-storage=true
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_DNSCHALLENGE=true
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_DNSCHALLENGE_DELAYBEFORECHECK=10
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_DNSCHALLENGE_PROVIDER=ovh
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_DNSCHALLENGE_RESOLVERS=ns12.ovh.net
TRAEFIK_CERTIFICATESRESOLVERS_default-storage_ACME_EMAIL="edv@mydomain.de"
If applicable, please paste the log output in DEBUG level
No response
The text was updated successfully, but these errors were encountered: