Skip to content

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

@kucerakk

Description

@kucerakk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions