I was faced with this mysterious phenomenon where an app I deployed on Coolify automatically ends up exiting at a certain time every day
At first I thought, " Is it stopped because I haven't set up a Health check? " and looked around the settings, but I couldn't find any particular cause.
After some trial and error, I finally arrived Coolify's "Auto Update" setting .
When I turn this off, it will not be Exited at all after that, and the app is running steadily.
In this article, we will summarize the research process for
problem that you get to be automatically Exited on Coolify every day I hope this will help those who are in trouble because they don't know the cause.
The first thing I doubted was Healthcheck: no meaning
a Health check for your app, Coolify allows for startup monitoring and recovery in the event of an abnormality.
I was left in the "Exited" state with no clear crashes or log errors like this , the first thing I suspected was the unsettling of this Health check.
So first I simply added a Health check that says, "As long as you access /
/api/health
as a dedicated endpoint on Next.js , and returned 200 for that.
However, this did not lead to improvements, and the phenomenon of going to the same exited state every day did not stop.
The current settings are as follows: (I made it so I think it would be a waste to delete it.)

The real cause was "Auto Update": The solution is simply turned off
The cause was unexpected.
Coolify's "Auto Update" function was turned on by default, and automatic updates were triggered at a certain time every day .
It was set up as follows:
Auto Update Enabled
: ONAuto Update Frequency
:0 0 * * *
(0am every day)
It seems that Coolify checks for updates according to this schedule, and then stops the app.
When I changed the setting to OFF, it has not stopped at all since then and continues to work properly.
👉 The solution is as follows:
- Open the Coolify app settings screen
-
Auto Update
Enabled off - Save and redeploy (or restart)

Just uncheck the box below and use Sava.

summary
The app will automatically be Exited every day. . . At first glance, this phenomenon may seem like an app or Docker problem, but it can also be caused by unexpected issues like Coolify's Auto Update settings
This time, simply turning off Auto Update , but it took quite a while to realize the root cause.
If you are experiencing similar symptoms on Coolify, we recommend that you first check to see if "Auto Update" is enabled.