A middleman between GitLab and Discord webhooks to show better formatted messages.
A middleman between GitLab and Discord webhooks to show better formatted messages.
In order to use this, you must have a public IP address, with port 7400 open.
requirements.txt (Python 3.10 or higher)python -m pip install -r requirements.txt
config.ini file, you can copy and rename config-example.ini.webhook entry.main.pySettings > IntegrationsAdd Webhook.From now on, changes to the project will be posted on the specified channel.
You can have multiple projects pointing to the same gitlab-discord-webhook instance,
but every instance will only post messages through a single Discord webhook.
The image can be pulled from Docker Hub:
docker pull galarzaa90/gitlab-discord-webhook:latest
Alternatively, the image can be built from the root of the project’s source.
docker build . -t gitlab-discord-webhook:local
To run the image:
docker run -p 7400:7400 --rm -ti gitlab-discord-webhook:local