danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
18.39k stars 3.08k forks source link

[Question]: Best way to upgrade when using docker-compose? #4553

Open donvito opened 2 hours ago

donvito commented 2 hours ago

What is your question?

Hi,

Just wanted to ask. What is the best way to upgrade when using docker-compose? I just deleted the ghcr.io/danny-avila/librechat-dev image in my local docker and it seemed to work.

But, for production use, how can I guarantee that all dependencies are upgraded like database migrations and other dependencies which are in other docker containers?

How can I keep the user and messages data during migration?

Thank you.

More Details

No other details

What is the main subject of your question?

No response

Screenshots

No response

Code of Conduct

fuegovic commented 2 hours ago

This: https://www.librechat.ai/docs/local/docker#update-librechat

You won't loose your data