HornaHomeLab / Actions_Deployments

0 stars 0 forks source link

Support for persistent storage cleanup #6

Open StanislawHornaGitHub opened 3 months ago

StanislawHornaGitHub commented 3 months ago

Most of docker compose apps have some persistent volumes. Add bool input whether this should be removed before deployment or not.

Checkout --volumes param Docs

StanislawHornaGitHub commented 3 months ago

Param volumes works with Docker Compose volumes, but it will not work with direct folder mapping.

For services like Grafana, which are provisioned with dashboards etc. preferred way to keep some data between container runs will be using Docker Compose volumes, however containers with databases which contains crucial data should be using folder mapping.