OpenProject webhook proxy for Discord webhooks.
585
A webhook proxy for OpenProject webhooks to Discord written in Go.
work_package:createdwork_package:updated
You can launch the service as a simple Docker container:
docker run -v "./config.yaml:/app/config.yaml" -p "5001:5001" dan6erbond/openproject-discord-webhook-proxy:latest
A config.yaml needs to be provided which provides configuration for the service and webhooks. For more information see Configuration below.
Note: If local storage is enabled, it is recommended to add a volume mount to
/app/requeststo view the requests on the host machine.
A sample docker-compose.yml is provided with MinIO as the storage provider for request logs. You need to launch MinIO initially at http://localhost:9002 to create a bucket and service account, which can then be configured. See Configuration.
You can use Terraform to deploy the proxy to Kubernetes.
Dan6erbond/openproject-discord-webhook-proxy/kubernetes
For further deployment instructions on Kubernetes see the Terraform registry.
All the configuration options, including webhooks, are stored in a config.yaml at the root level of the application.
The available options, with their defaults if applicable, are shown below:
server:
# 0.0.0.0 for Docker and Kubernetes
host: 127.0.0.1
port: 5001
# Add this section if you want request logging
storage:
s3:
bucketName: <your-s3-bucket>
region: <region>
endpoint: s3.amazonaws.com
accessKey: <access-key>
secretKey: <secret-key>
useSSL: true
local:
path: <folder>
webhooks:
- name: <webhook-name>
url: <discord-webhook-url>
# Actions to enable webhooks for, if left empty will handle all supported actions
actions:
- <action>
secret: <secret>
openproject:
# Required to generate URLs
baseUrl: <openproject-base-url>
Content type
Image
Digest
sha256:50bc2a392…
Size
208.1 MB
Last updated
almost 4 years ago
docker pull dan6erbond/openproject-discord-webhook-proxy