To Reproduce
- Create app
- Choose registry and 1 replica so the app is added to swarm
- Deploy
- Redeploy using webhook
Current vs. Expected behavior
Following the steps from the previous section, I expect the service would shutdown and redeploy, but observe that another instance of the app is created each redeploy alongside previously deployed instance and Traefik is balancing between these instances
Provide environment information
Operating System: OS: Ubuntu 22
Dokploy version: 0.21.5
Deploying Node.js app
Which area(s) are affected? (Select all that apply)
Docker, Traefik, Application
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
Changing the replica number to 5, redeploying, changing the replica number to 1, redeploying - fixes the issue until next redeploy
Will you send a PR to fix it?
No
To Reproduce
Current vs. Expected behavior
Following the steps from the previous section, I expect the service would shutdown and redeploy, but observe that another instance of the app is created each redeploy alongside previously deployed instance and Traefik is balancing between these instances
Provide environment information
Which area(s) are affected? (Select all that apply)
Docker, Traefik, Application
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
Changing the replica number to 5, redeploying, changing the replica number to 1, redeploying - fixes the issue until next redeploy
Will you send a PR to fix it?
No