I don't like confidential data just hanging around in environment variables, especially for security related products. That's what docker secrets were made for to make things a bit better.
With this PR you can use docker secrets to set the USERNAME and PASSWORD using USERNAME_FILE and PASSWORD_FILE respectively. The files just contain the plaintext username or password. The traditional way of just using USERNAME and/or PASSWORD still works.
I don't like confidential data just hanging around in environment variables, especially for security related products. That's what docker secrets were made for to make things a bit better.
With this PR you can use docker secrets to set the
USERNAME
andPASSWORD
usingUSERNAME_FILE
andPASSWORD_FILE
respectively. The files just contain the plaintext username or password. The traditional way of just usingUSERNAME
and/orPASSWORD
still works.A full docker compose example:
docker-compose.yml
$ cat eufy-security-ws_username
as an example