Making sure volumes are removed when nuking.
This commit is contained in:
parent
13c368109e
commit
5cf3740fea
|
@ -67,7 +67,11 @@ async function nuke() {
|
||||||
console.log(
|
console.log(
|
||||||
"Clearing down your budibase dev environment, including all containers and volumes... 💥"
|
"Clearing down your budibase dev environment, including all containers and volumes... 💥"
|
||||||
)
|
)
|
||||||
await compose.down(CONFIG)
|
await compose.down({
|
||||||
|
...CONFIG,
|
||||||
|
// stop containers, delete volumes
|
||||||
|
commandOptions: ["-v", "--remove-orphans"],
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const managementCommand = process.argv.slice(2)[0]
|
const managementCommand = process.argv.slice(2)[0]
|
||||||
|
|
Loading…
Reference in New Issue