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...');

View file

@ -368,7 +368,7 @@ npm run update:deployed
npm run stop:deployed
```
> This simply runs `docker-compose -f ./deploy-compose.yml down --volumes`
> This simply runs `docker-compose -f ./deploy-compose.yml down`
**Starting the docker container**

View file

@ -20,7 +20,7 @@
"update:deployed": "node config/deployed-update.js",
"rebase:deployed": "node config/deployed-update.js --rebase",
"start:deployed": "docker-compose -f ./deploy-compose.yml up -d",
"stop:deployed": "docker-compose -f ./deploy-compose.yml down --volumes",
"stop:deployed": "docker-compose -f ./deploy-compose.yml down",
"upgrade": "node config/upgrade.js",
"create-user": "node config/create-user.js",
"backend": "cross-env NODE_ENV=production node api/server/index.js",