How to adjust webhook URL? #4523
-
Describe the bug To Reproduce Follow Docker documentation and set the URL for the API. Expected behavior Additional context
docker-compose.common.yml:
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hello @larsassink! I'm Dosu, here to help you solve bugs, answer questions, and assist you in becoming a contributor. While we wait for a human maintainer, feel free to share more details about your issue! The issue you're experiencing with the URL configuration seems to be related to the port specification in the ports:
- "8080:8080" To achieve the expected URL
These changes should help you achieve the URL format you expect. If you are using a reverse proxy, make sure it is correctly configured to handle requests on the desired port and route them to the backend service. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
Hey @larsassink, you can adjust the URL by changing the PORT env var to be 80 like you want |
Beta Was this translation helpful? Give feedback.
-
Yeah, tried that as well but when accessing the incoming webhook settings in keep it now gives this URL: http://keep-api.domain.com:80/alerts/event. I need that :80 part to be removed since my other services do not seem to work with that in place. |
Beta Was this translation helpful? Give feedback.
-
@larsassink ok - you can use |
Beta Was this translation helpful? Give feedback.
-
@larsassink converted to discussion |
Beta Was this translation helpful? Give feedback.
-
Alright, thanks! It does seem to be working, even though it has port 80 in the url. I forgot to update the webhooks in the provider settings. |
Beta Was this translation helpful? Give feedback.
@larsassink ok - you can use
KEEP_API_URL
and just put there whatever you want, and Keep will use that