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
|
export SECRET_KEY=${SECRET_KEY:-$(< /dev/urandom tr -dc A-Za-z0-9_\!\@\#\$\%\^\&\*\(\)-+= | head -c 32)} |
I believe the env variable should be unset SECRET_KEY after generating minimal alertad.conf
Regards,
Kristian