Setting the SMTP_PASSWORD with docker compose secrets #3291
Unanswered
Weizenritter
asked this question in
Q&A
Replies: 1 comment
-
https://docs.pydantic.dev/latest/concepts/pydantic_settings/#use-case-docker-secrets I'm going to try adding this setting and go through an Issue and PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there. Since I like checking in all my configs I like them to be free of secrets in clear text. I wonder if it's possible to provide the value of the variable SMTP_PASSWORD with an docker compose secret. Here an example of what I would imagine:
Note the
_FILE
suffix, it's a convention that some official images implement, as stated in the documentation of docker compose (scroll to the bottom for the note).If it's possible in some other way I'd like to here how, thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions