Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kucerakk opened this issue Feb 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@kucerakk
Copy link

kucerakk commented Feb 7, 2022

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

@satterly satterly added the bug Something isn't working label Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants