dokploy
dokploy copied to clipboard
Stop Grace Period is not applying to containers
To Reproduce
- Create an application or database
- Click Advanced -> Swarm Settings -> Stop Grace Period
- Define Stop Grace Period to a number different than the default (10s) like 30000000000 (30s)
- Click
Updateto save settings - Deploy application
Current vs. Expected behavior
When running command
docker service inspect <service_id>
I am seeing:
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
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.