exoframejs / exoframe

Exoframe is a self-hosted tool that allows simple one-command deployments using Docker
https://exoframejs.github.io/exoframe/
1.13k stars 56 forks source link

Add alternate deployment strategy (remove-before-deploy) #320

Open yamalight opened 2 years ago

yamalight commented 2 years ago

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.

dualizeo commented 1 year ago

Doesn't Watchtower do this?

yamalight commented 1 year ago

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