dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Stop Grace Period is not applying to containers

Open lmachineone opened this issue 1 year ago • 1 comments

To Reproduce

  1. Create an application or database
  2. Click Advanced -> Swarm Settings -> Stop Grace Period
  3. Define Stop Grace Period to a number different than the default (10s) like 30000000000 (30s)
  4. Click Update to save settings
  5. Deploy application

Current vs. Expected behavior

When running command docker service inspect <service_id>

I am seeing:

Image

But where it says: "StopGracePeriod": 10000000000

I expected to see: "StopGracePeriod": 30000000000

Provide environment information

Operating System:
  OS: Ubuntu 24.04
  Arch: x64
Dokploy version: 0.25.11
VPS Provider: Hetzner
What applications/services are you trying to deploy?
- traefik/whoami

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

Application, Databases, Docker

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

Remote server

Additional context

No response

Will you send a PR to fix it?

Yes

relates #2227 relates #2232

lmachineone avatar Nov 28 '25 15:11 lmachineone

I've given up on this app; I'm so disappointed. The app that was previously deployed suddenly showed a 404 page not found error one week ago. I hadn't touched the server or anything in the backend in between. Now switching to Portainer is much better.

weishaoniubi avatar Nov 28 '25 16:11 weishaoniubi