fix(deployed-update.js): remove --volumes flag from downCommand (#784)

fix(update.js): remove --volumes flag from downCommand
docs(digitalocean.md): update command description to remove --volumes flag
fix(package.json): remove --volumes flag from stop:deployed script
This commit is contained in:
Danny Avila 2023-08-10 10:35:04 -04:00 committed by GitHub
parent 46abc0e9af
commit e11815833f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -36,7 +36,7 @@ const shouldRebase = process.argv.includes('--rebase');
}
console.purple('Removing previously made Docker container...');
const downCommand = 'sudo docker-compose -f ./deploy-compose.yml down --volumes';
const downCommand = 'sudo docker-compose -f ./deploy-compose.yml down';
console.orange(downCommand);
execSync(downCommand, { stdio: 'inherit' });

View file

@ -80,7 +80,7 @@ async function validateDockerRunning() {
console.purple('Removing previously made Docker container...');
const downCommand = `${sudo}docker-compose ${
singleCompose ? '-f ./docs/dev/single-compose.yml ' : ''
}down --volumes`;
}down`;
console.orange(downCommand);
execSync(downCommand, { stdio: 'inherit' });
console.purple('Pruning all LibreChat Docker images...');