1.3 KiB
1.3 KiB
Gitea → Dokploy Webhook Setup
Steps to configure the Gitea repository webhook to trigger Dokploy compose deployments:
- In Gitea, open the repository and go to Settings → Webhooks.
- Click Add Webhook and choose Gitea or Custom depending on your Gitea version.
- Fill in the endpoint URL:
https://system.cloudarix.de/api/deploy/compose/JXSdfeHdc6wBKUEiJrX_9. - Set Content Type to
application/json. - (Optional but recommended) Add a secret token for payload signing. Store the secret in Dokploy project-level secrets and enable signature validation in Dokploy if supported.
- Select events: enable Push events (and tag push if you want tag-triggered deploys).
- Leave SSL verification enabled unless Dokploy uses a self-signed cert (then configure accordingly).
- Save the webhook and use the Test Delivery function to send a sample payload.
Verification
- A successful delivery should return HTTP 2xx from Dokploy. Verify a deployment run appears in Dokploy and that the
commit_shafrom the payload is recorded in the run.
Troubleshooting
- If Dokploy returns 4xx, check webhook secret/signature and Dokploy project authentication.
- If Dokploy cannot clone the repo, ensure
REPO_DEPLOY_KEYis configured and has read access.