Allow configuring shutdown order and grace period for Coolify-managed services (Redis, PostgreSQL, etc.) #7685
mpenchenat93
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would like to request a new feature in Coolify regarding shutdown behavior for managed services.
Feature request: Allow configuring shutdown order and grace period for Coolify-managed services (Redis, PostgreSQL, etc.)
Currently, when deploying a service through docker-compose, we can use
stop_grace_periodto ensure a clean and graceful shutdown. This works perfectly for my NestJS API.However, for “ready-to-use” services provisioned directly by Coolify (e.g., Redis, PostgreSQL), there is no option in the UI to configure a shutdown grace period or a shutdown order.
Why this matters
My application uses NestJS + Redis + PostgreSQL, and I have BullMQ queues consuming jobs continuously. These jobs frequently write to Redis and PostgreSQL.
During a server reboot, I want to guarantee that:
On my VPS, reboots are necessary quite often (system updates), so a reliable shutdown sequence is important to avoid inconsistent states or job crashes.
What would be helpful
stop_grace_period) for Coolify-managed services.This feature would make Coolify much more robust for applications using queues, workers, and databases.
Thank you for considering this improvement!
Beta Was this translation helpful? Give feedback.
All reactions