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
17.86k stars 2.96k forks source link

Enhancement: Make the Docker image compatible for using Docker Secrets #3186

Closed prononext closed 3 months ago

prononext commented 3 months ago

What features would you like to see added?

It would be really nice if the Docker Images would be compatible to Docker Secrets https://docs.docker.com/engine/swarm/secrets/

More details

You could use the _FILE suffix on any ENV to encrypt sensible information like API Keys and other secrets inside Docker, so it is not available in clear inside the .env file. Every major image out there like for example mysql, postgres, mogo and many more are having this enabled on all Environment Variables.

For a save setup without possibly exposed API-Keys and secrets that would be a secure way to go.

Which components are impacted by your request?

No response

Pictures

No response

Code of Conduct