-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
$
in generated PASSWORD_SECRET
can cause issues when parsed by Docker
#634
Comments
Actually, using an escaped Rather that the suggestion above, instead mention needing to escape the dollar symbol in any documentation about saving the |
Same thing for |
Good to know. Is |
Hey sorry, I missed the notification.
direnv automatically loads the environment variables defined in an So basically |
Is your feature request related to a problem?
When setting up a Dockerfile, providing a generate
PASSWORD_SECRET
that contains a$
symbol, it gets parsed a separate variable. So, if for example the generated secret is:$1a$10$ABC123
Docker compose would provide the following warning:
WARN[0000] The "ABC123" variable is not set. Defaulting to a blank string.
Describe the solution you’d like
When providing a value for
PASSWORD_SECRET
, escape the$
symbol.So instead of providing:
$1a$10$ABC123
instead provide the following:
\$1a\$10\$ABC123
The text was updated successfully, but these errors were encountered: