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
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
feat: deploy-compose NGINX volume mapping, add image removal to update script (#1211)
Danny Avila650759306dcb
diff --git a/config/deployed-update.js b/config/deployed-update.jsindex 2b93182916..5b1072f841 100644--- a/config/deployed-update.js+++ b/config/deployed-update.js@@ -40,6 +40,19 @@ const shouldRebase = process.argv.includes('--rebase');console.orange(downCommand);execSync(downCommand, { stdio: 'inherit' });+ console.purple('Removing all tags for LibreChat `deployed` images...');+ const repositories = ['ghcr.io/danny-avila/librechat-dev-api', 'librechat-client'];+ repositories.forEach((repo) => {+ const tags = execSync(`sudo docker images ${repo} -q`, { encoding: 'utf8' })+ .split('\n')+ .filter(Boolean);+ tags.forEach((tag) => {+ const removeImageCommand = `sudo docker rmi ${tag}`;+ console.orange(removeImageCommand);+ execSync(removeImageCommand, { stdio: 'inherit' });+ });+ });+console.purple('Pulling latest LibreChat images...');const pullCommand = 'sudo docker-compose -f ./deploy-compose.yml pull api';console.orange(pullCommand);diff --git a/deploy-compose.yml b/deploy-compose.ymlindex 1d86edd4df..dcad325e6f 100644--- a/deploy-compose.yml+++ b/deploy-compose.yml@@ -36,6 +36,8 @@ services:depends_on:- apirestart: always+ volumes:+ - ./client/nginx.conf:/etc/nginx/conf.d/default.confmongodb:container_name: chat-mongodb# ports: # Uncomment this to access mongodb from outside docker, not safe in deployment