mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 08:12:00 +02:00
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:
parent
46abc0e9af
commit
e11815833f
4 changed files with 4 additions and 4 deletions
|
@ -36,7 +36,7 @@ const shouldRebase = process.argv.includes('--rebase');
|
||||||
}
|
}
|
||||||
|
|
||||||
console.purple('Removing previously made Docker container...');
|
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);
|
console.orange(downCommand);
|
||||||
execSync(downCommand, { stdio: 'inherit' });
|
execSync(downCommand, { stdio: 'inherit' });
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ async function validateDockerRunning() {
|
||||||
console.purple('Removing previously made Docker container...');
|
console.purple('Removing previously made Docker container...');
|
||||||
const downCommand = `${sudo}docker-compose ${
|
const downCommand = `${sudo}docker-compose ${
|
||||||
singleCompose ? '-f ./docs/dev/single-compose.yml ' : ''
|
singleCompose ? '-f ./docs/dev/single-compose.yml ' : ''
|
||||||
}down --volumes`;
|
}down`;
|
||||||
console.orange(downCommand);
|
console.orange(downCommand);
|
||||||
execSync(downCommand, { stdio: 'inherit' });
|
execSync(downCommand, { stdio: 'inherit' });
|
||||||
console.purple('Pruning all LibreChat Docker images...');
|
console.purple('Pruning all LibreChat Docker images...');
|
||||||
|
|
|
@ -368,7 +368,7 @@ npm run update:deployed
|
||||||
npm run stop: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**
|
**Starting the docker container**
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
"update:deployed": "node config/deployed-update.js",
|
"update:deployed": "node config/deployed-update.js",
|
||||||
"rebase:deployed": "node config/deployed-update.js --rebase",
|
"rebase:deployed": "node config/deployed-update.js --rebase",
|
||||||
"start:deployed": "docker-compose -f ./deploy-compose.yml up -d",
|
"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",
|
"upgrade": "node config/upgrade.js",
|
||||||
"create-user": "node config/create-user.js",
|
"create-user": "node config/create-user.js",
|
||||||
"backend": "cross-env NODE_ENV=production node api/server/index.js",
|
"backend": "cross-env NODE_ENV=production node api/server/index.js",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue