dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Unresponsive Control Panel and Application Downtime During Nixpacks Deployment

Open jimhouserock opened this issue 1 year ago • 0 comments

To Reproduce

Summary: Deploying applications using Nixpacks via GitHub CI/CD occasionally causes the Dokploy control panel to become unresponsive. In some cases, this results in all applications going offline with a "Bad Gateway" error. Other times, only the control panel is affected.

Steps to Reproduce:

Push a commit to trigger deployment via Nixpacks CI/CD (GitHub integration).

Observe Dokploy behavior during deployment.

Observed Behavior:

The control panel becomes unresponsive.

Occasionally, all applications return a 502 Bad Gateway error.

In the Projects/Applications section, two CI/CD deployment jobs sometimes appear in the queue (possible duplication).

The issue occurs intermittently and inconsistently.

Additional Notes:

This issue does not occur when deploying using Docker.

I suspect a possible memory/resource exhaustion issue on the server, potentially caused by duplicate CI/CD jobs being triggered on Git commits.

Environment:

Deployment method: Nixpacks via GitHub CI/CD

Alternative method (no issue): Docker deployment

Platform: Dokploy

Current vs. Expected behavior

Expected Behavior:

Deployment should complete without affecting the availability of the control panel or running applications.

Only a single CI/CD job should be triggered per commit.

Provide environment information

Utuntu 20.04

Which area(s) are affected? (Select all that apply)

Application

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

Yes

jimhouserock avatar Aug 03 '25 15:08 jimhouserock