Skip to content

Commit e118158

Browse files
authored
fix(deployed-update.js): remove --volumes flag from downCommand (danny-avila#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
1 parent 46abc0e commit e118158

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

config/deployed-update.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const shouldRebase = process.argv.includes('--rebase');
3636
}
3737

3838
console.purple('Removing previously made Docker container...');
39-
const downCommand = 'sudo docker-compose -f ./deploy-compose.yml down --volumes';
39+
const downCommand = 'sudo docker-compose -f ./deploy-compose.yml down';
4040
console.orange(downCommand);
4141
execSync(downCommand, { stdio: 'inherit' });
4242

config/update.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function validateDockerRunning() {
8080
console.purple('Removing previously made Docker container...');
8181
const downCommand = `${sudo}docker-compose ${
8282
singleCompose ? '-f ./docs/dev/single-compose.yml ' : ''
83-
}down --volumes`;
83+
}down`;
8484
console.orange(downCommand);
8585
execSync(downCommand, { stdio: 'inherit' });
8686
console.purple('Pruning all LibreChat Docker images...');

docs/deployment/digitalocean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ npm run update:deployed
368368
npm run stop:deployed
369369
```
370370

371-
> This simply runs `docker-compose -f ./deploy-compose.yml down --volumes`
371+
> This simply runs `docker-compose -f ./deploy-compose.yml down`
372372
373373
**Starting the docker container**
374374

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"update:deployed": "node config/deployed-update.js",
2121
"rebase:deployed": "node config/deployed-update.js --rebase",
2222
"start:deployed": "docker-compose -f ./deploy-compose.yml up -d",
23-
"stop:deployed": "docker-compose -f ./deploy-compose.yml down --volumes",
23+
"stop:deployed": "docker-compose -f ./deploy-compose.yml down",
2424
"upgrade": "node config/upgrade.js",
2525
"create-user": "node config/create-user.js",
2626
"backend": "cross-env NODE_ENV=production node api/server/index.js",

0 commit comments

Comments
 (0)