awesome-compose
awesome-compose copied to clipboard
ngnix-flask-mysql: when reading password secret file, should strip after read
Suggest adding .strip()
after .read()
at https://github.com/docker/awesome-compose/blob/e6b1d2755f2f72a363fc346e52dce10cace846c8/nginx-flask-mysql/backend/hello.py#L11
I spent days debugging a secrets file which had an errant LF character at the end.
See also https://stackoverflow.com/a/75488788/799921