You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The env variable established in commit 30c48a3 contains the path to the secret file, not the secret itself, but several places in the service code assume that DOCKER_SECRET_REDIS_ is a valid env prefix for the password itself.
Current behavior
Services look for ENV variable DOCKER_SECRET_REDIS_PASS assuming it is the password.
Expected behavior
Either DOCKER_SECRET_REDIS_PASS needs to be re-written, or a different ENV variable needs to be used which is set from the value in the secret file.
The redis service does this approrpiately in the entrypoint.sh
But the other python based services do not read this secret appropriately, and the function used to parse the env, _get_parsed_or_env_val in the __main__.py checks that DOCKER_SECRET_REDIS_PASS exists, which it does, and uses its value (the path to the secret file in the container file system) as the password it uses to attempt connections with, which fail.
The text was updated successfully, but these errors were encountered:
The env variable established in commit 30c48a3 contains the path to the secret file, not the secret itself, but several places in the service code assume that
DOCKER_SECRET_REDIS_
is a valid env prefix for the password itself.Current behavior
Services look for ENV variable
DOCKER_SECRET_REDIS_PASS
assuming it is the password.Expected behavior
Either
DOCKER_SECRET_REDIS_PASS
needs to be re-written, or a different ENV variable needs to be used which is set from the value in the secret file.The redis service does this approrpiately in the
entrypoint.sh
But the other python based services do not read this secret appropriately, and the function used to parse the env,
_get_parsed_or_env_val
in the__main__.py
checks thatDOCKER_SECRET_REDIS_PASS
exists, which it does, and uses its value (the path to the secret file in the container file system) as the password it uses to attempt connections with, which fail.The text was updated successfully, but these errors were encountered: