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

Feature Request - Add custom text to webhook notifications #118

Open
edrock200 opened this issue Nov 9, 2023 · 1 comment
Open

Feature Request - Add custom text to webhook notifications #118

edrock200 opened this issue Nov 9, 2023 · 1 comment

Comments

@edrock200
Copy link

Respectfully requesting the ability to append the webhook notifications with custom text. Reason being if you have autoheal on multiple hosts with similarly named containers, aside from the container id, its difficult to discern which host the notification is coming from. If we deploy it to add, for example, the hostname appended to the webhook, it will quickly identify the container and host in the webhook notification. Thanks in advance for your consideration.

@christiantosta
Copy link

If you are running with docker-compose, you can append the node name to the project name:

  • Node1:
name: my-project-node1
services:
  app:
    deploy:
      replicas: 2
    (...)
  • Node2:
name: my-project-node2
services:
  app:
    deploy:
      replicas: 2
    (...)

So your containers will be named:

my-project-node1-app-1
my-project-node1-app-2
my-project-node2-app-1
my-project-node2-app-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants