docker-alerta icon indicating copy to clipboard operation
docker-alerta copied to clipboard

export SECRET_KEY in docker-entrypoint.sh takes precedence over SECRET_KEY in /etc/alertad.conf

Open kucerakk opened this issue 3 years ago • 0 comments

In case I do not pass ALERTA_SVR_CONF_FILE to the container the following export SECRET_KEY in docker-entrypoint.sh takes precedence over SECRET_KEY setting in /etc/alertad.conf

https://github.com/alerta/docker-alerta/blob/bee0a4d4f50af98513145f27bfa6f095e78fd99a/docker-entrypoint.sh#L22

I believe the env variable should be unset SECRET_KEY after generating minimal alertad.conf

Regards, Kristian

kucerakk avatar Feb 07 '22 08:02 kucerakk