traefik-forward-auth
traefik-forward-auth copied to clipboard
Use docker secrets for environment variables
Is there a way to use docker secrets for the environment variables?
I did the following
secrets:
google_oauth:
file: "./oauth/secrets/google_oauth.secret"
container:
environment:
- CONFIG=/config
secrets:
- source: google_oauth
target: /config
google_oauth.secret:
providers.google.client-id=
providers.google.client-secret=
secret=
whitelist=
whitelist=
It seems the whitelist is ignored so I don't know if its supported in the ini files. @thomseddon Did I configure something incorrectly or is whitelist not supported in a config file?? Edit: now it seems to work guessing I had some error in my config file