1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

feat(app/stack): ability to prune volumes on stack/edge stack delete (#232)

Co-authored-by: oscarzhou <oscar.zhou@portainer.io>
This commit is contained in:
LP B 2024-12-31 22:44:49 +01:00 committed by GitHub
parent 33ea22c0a9
commit 85f52d2574
2 changed files with 13 additions and 1 deletions

View file

@ -1395,6 +1395,13 @@ type (
Prune bool
}
ComposeDownOptions struct {
// RemoveVolumes will remove the named volumes declared in the compose file
// and anonymous volumes attached to the stack's containers
// Drives `docker compose down --volumes`
RemoveVolumes bool
}
ComposeRunOptions struct {
ComposeOptions