Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

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

Danny Avilae11815833f47
diff --git a/config/deployed-update.js b/config/deployed-update.js
index f84710eaa7..2b93182916 100644
--- a/config/deployed-update.js
+++ b/config/deployed-update.js
@@ -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' });
diff --git a/config/update.js b/config/update.js
index cd7cb53f96..8e9126c092 100644
--- a/config/update.js
+++ b/config/update.js
@@ -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...');
diff --git a/docs/deployment/digitalocean.md b/docs/deployment/digitalocean.md
index f7259b1121..9a0777e4d8 100644
--- a/docs/deployment/digitalocean.md
+++ b/docs/deployment/digitalocean.md
@@ -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**
diff --git a/package.json b/package.json
index bd8640461b..e61832aed9 100644
--- a/package.json
+++ b/package.json
@@ -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",