Skip to content

get env variables in config.yaml #2022

Answered by nabokihms
AnkitaBarbi asked this question in Q&A
Discussion options

You must be logged in to vote

I believe that you can not do it with v2.27.0.
We tried to solve this problem in the upcoming release by adding gomplate into the docker image.

You need two things to make it work right now:

  1. use ghcr.io/dexidp/dex:latest
  2. add environment variables to your config like in the example here:
    https://github.com/dexidp/dex/blob/master/config.docker.yaml

Be aware that the latest tag is not a stable release.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@heidemn
Comment options

@AnkitaBarbi
Comment options

Answer selected by AnkitaBarbi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants