-
Hi! Does anyone know if there's any way I can hook into the release process so that a script/command is executed on the dokku host (not inside the application container) right before the application's Procfile |
Beta Was this translation helpful? Give feedback.
Answered by
turicas
Feb 16, 2025
Replies: 1 comment 3 replies
-
I don't think there's an way to do it. It doesn't make sense (for security purposes) the user executing arbitrary commands on the server during an app deployment. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In this case you can't have zero downtime during your deploys, since it would require both the old and the new containers to be running at the same time. You must configure the checks for this app accordingly.
See more details at https://dokku.com/docs/deployment/zero-downtime-deploys/
Note that disabling checks is not the same as skipping them - see more details at #2073