AI Transformation

Setup Auto Deploy

Automatically redeploy your service on every git push using a GitLab webhook.

Auto Deploy triggers a redeployment on Dokploy every time you push code to GitLab — no manual deploys needed.

How it works: git push → GitLab detects push → fires webhook → Dokploy automatically redeploys your service.

Steps

Step 1 — Copy the Webhook URL from Dokploy

In your Application/Service on host.vnggames.ai, go to the Deployments tab and copy the Webhook URL.

Dokploy Deployments tab — Webhook URL to copy

Step 2 — Add the Webhook in GitLab

Go to your GitLab project on code.vnggames.ai, navigate to SettingsWebhooks, then click Add new webhook.

In your project sidebar, go to SettingsWebhooks. Click Add new webhook to open the configuration form.

GitLab project Settings — Webhooks page

Fill in the form:

FieldValue
URLPaste the Webhook URL copied from Dokploy
Trigger✅ Push events
Branch filterLeave blank for all branches, or specify (e.g., main)
SSL verificationEnable if your Dokploy instance uses HTTPS

GitLab Add new webhook form — URL, Trigger and SSL fields

Step 3 — Save the Webhook

Click Add webhook to save. GitLab will send a test ping to confirm the connection.

Step 4 — Verify

Make a small commit and push to the configured branch. A new deployment should appear automatically in Dokploy's Deployments tab within seconds.

If a deployment doesn't trigger, check that the Webhook URL is correct and the service is in a running state on Dokploy.

On this page