1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00

Making sure volumes are removed when nuking.

This commit is contained in:
mike12345567 2021-04-08 18:18:53 +01:00
parent 15900efc35
commit 0c34f1a108

View file

@ -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]