How to use WEBHOOK_EXTRA_ARGS #166
Unanswered
automiza-ai
asked this question in
Q&A
Replies: 1 comment
-
|
Not sure how this config format works, but it might be required more escaping to allow pass the quotes. Alternatively you can copy the hooks/00-webhook file and replace it or add another using a configmap or volumes. To avoid using the original script, avoid using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using docker swarm and I'm deploying the stack through Portainer. I'm not being able to use WEBHOOK_EXTRA_ARGS variable. I would like to send a header parameter for "Authorization: mytoken". How can I do that?
'
environment:
# Webhook
- WEBHOOK_URL=https://webhookurl.com/
# Extra Arguments
- "WEBHOOK_EXTRA_ARGS=--header 'Authorization: mytoken'"
'
Beta Was this translation helpful? Give feedback.
All reactions