exoframe icon indicating copy to clipboard operation
exoframe copied to clipboard

Add alternate deployment strategy (remove-before-deploy)

Open yamalight opened this issue 2 years ago • 2 comments

Currently, exoframe will build and deploy new container and remove the old one only after new one is up and running. This works fine for majority of services, but some require removal of old container before starting the new one (e.g. telegram bots that can only have one connection to API). We need to introduce new config property (e.g. deploymentStrategy?) that can be either default (or removeAfterDeploy) or removeBeforeDeploy. Should be fairly trivial to implement.

yamalight avatar Jun 29 '22 08:06 yamalight

Doesn't Watchtower do this?

dualizeo avatar Jul 25 '22 23:07 dualizeo

@dualizeo how would that help in updating project deployed with exoframe? 🤔

yamalight avatar Jul 26 '22 07:07 yamalight