docker / awesome-compose

Awesome Docker Compose samples

Home Page:https://docs.docker.com/compose/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ngnix-flask-mysql: when reading password secret file, should strip after read

louking opened this issue · comments

Suggest adding .strip() after .read() at

I spent days debugging a secrets file which had an errant LF character at the end.

See also https://stackoverflow.com/a/75488788/799921