Skip to content

How to modify Email template in Alertmanager container? #2232

@alexjuchina

Description

@alexjuchina

I use docker container to run alertmanager, I can receive emails normally, everything is fine, but I cannot find where to modify email template. The "View in Alertmanager" button links in email is wrong, I want to change the hostname in it.
So could you tell me what should I do if I want to modify email template ? I can't find the file below:

html: '{{ template "email.default.html" . }}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions