What is the difference between Restart and Redeploy? #2935
Replies: 9 comments 5 replies
-
Confused by this also! |
Beta Was this translation helpful? Give feedback.
-
Wow, no answer in 6 month? Cool... |
Beta Was this translation helpful? Give feedback.
-
It would be great with a simple explainer tooltip over them. A thing I would like clarified is if a redeploy closes the server while the redeployment happens. Also, if the redeployment fails, will it keep my current instance running? |
Beta Was this translation helpful? Give feedback.
-
As far as I can make out a restart would just restart the container. A redeploy probably does a rebuild? |
Beta Was this translation helpful? Give feedback.
-
Yeah, not entirely clear in the docs, although there are hints in the source code. Behaviour for swarm mode is also different, but for your regular deployment: It appears that "redeploy" will rebuild the docker image, whereas "restart" won't. We should add an entry to the FAQ (will do when I find time, but all welcome): |
Beta Was this translation helpful? Give feedback.
-
Do you guys know if a redeploy will deploy the latest changes from a git repo? I have disabled the automatic builds on updates to the repo. |
Beta Was this translation helpful? Give feedback.
-
Restart is triggering a new deploy! I just change some ENV variables. Is this supposed to happen? |
Beta Was this translation helpful? Give feedback.
-
Also confused by this, restart is rebuilding the whole image 🤔 |
Beta Was this translation helpful? Give feedback.
-
restart will be set to false if its a docker image or dockerfile (no idea why) (also doesn't show if compose) coolify/app/Jobs/ApplicationDeploymentJob.php Line 197 in 723f14e and same if anything in the configuration has changed, but that should be a given coolify/app/Jobs/ApplicationDeploymentJob.php Line 846 in 723f14e |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 👋
What is the difference between the Restart and Redeploy buttons?
It looks like they do the same thing currently and that is to start a deployment.
When I first saw the restart button, I tought it stops the app process, and start it again. But that is not what the button actually do! It looks like it just triggers a deployment. And that is what the "redeploy" button also does.
So what is the difference and when should I use which button?

Beta Was this translation helpful? Give feedback.
All reactions