Skip to content

Credentials getting mangled in environment variables #732

Answered by felddy
zilchms asked this question in Q&A
Discussion options

You must be logged in to vote

It's good to see the authentication tool works correctly inside the container. That means that the value from your docker-compose file is getting mangled between your keyboard and the tool.

My best guess still is that your password has some characters in it that need escaping in the yaml. Take a look at your use of single and double quotes in the environment variable section. Unless there are "special" characters you can omit the quotes.

Another thing you can try is passing your credentials using secrets.

See:

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@felddy
Comment options

@zilchms
Comment options

@felddy
Comment options

@felddy
Comment options

Answer selected by zilchms
@zilchms
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants