describes how to generate a BasicAuth password. The above method does not work as
# Note: when used in docker-compose.yml all dollar signs in the hash need to be doubled for escaping.
# To create user:password pair, it's possible to use this command:
# echo $(htpasswd -nB user) | sed -e s/\\$/\\$\\$/g
Escape
$Dollar-signs in BasicAuth PasswordContext
traefik-docker-compose/README.md
Line 15 in b38d545
Request to update
Readme.mdwith the above note on escaping the$dollar signs in the password by adding theecho-sed.env.examplewith a password generated by:echo $(htpasswd -nb user pass) | sed -e s/\$/\$\$/g