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: docker pre-built image by default (#1860)
Fuegovic4012dea4ab42
diff --git a/docker-compose.override.yml.example b/docker-compose.override.yml.exampleindex c0e5b0be6c..200f30085e 100644--- a/docker-compose.override.yml.example+++ b/docker-compose.override.yml.example@@ -11,13 +11,13 @@ version: '3.4'# WARNING: YOU CAN ONLY SPECIFY EVERY SERVICE NAME ONCE (api, mongodb, meilisearch, ...)# IF YOU WANT TO OVERRIDE MULTIPLE SETTINGS IN ONE SERVICE YOU WILL HAVE TO EDIT ACCORDINGLY-# EXAMPLE: if you want to use the config file and the latest docker image the result will be:+# EXAMPLE: if you want to use the config file and the latest numbered release docker image the result will be:# services:# api:# volumes:# - ./librechat.yaml:/app/librechat.yaml-# image: ghcr.io/danny-avila/librechat-dev:latest+# image: ghcr.io/danny-avila/librechat:latest# ---------------------------------------------------@@ -28,6 +28,13 @@ version: '3.4'# volumes:# - ./librechat.yaml:/app/librechat.yaml+# # LOCAL BUILD+# api:+# image: librechat+# build:+# context: .+# target: node+# # BUILD FROM LATEST IMAGE# api:# image: ghcr.io/danny-avila/librechat-dev:latestdiff --git a/docker-compose.yml b/docker-compose.ymlindex cda22c09b4..481bf7b981 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -7,13 +7,10 @@ services:api:container_name: LibreChatports:- - 3080:3080+ - "${PORT}:${PORT}"depends_on:- mongodb- image: librechat- build:- context: .- target: node+ image: ghcr.io/danny-avila/librechat-dev:latestrestart: alwaysuser: "${UID}:${GID}"extra_hosts:diff --git a/docs/install/configuration/docker_override.md b/docs/install/configuration/docker_override.mdindex f2c2218c9d..d71dc8a1cf 100644--- a/docs/install/configuration/docker_override.md+++ b/docs/install/configuration/docker_override.md@@ -49,7 +49,7 @@ services:- ./librechat.yaml:/app/librechat.yaml```-Or, if you want to use a prebuilt image for the `api` service, use the LibreChat config file, and use the older Mongo that doesn't requires AVX support, your `docker-compose.override.yml` might look like this:+Or, if you want to locally build the image for the `api` service, use the LibreChat config file, and use the older Mongo that doesn't requires AVX support, your `docker-compose.override.yml` might look like this:```yamlversion: '3.4'@@ -58,7 +58,10 @@ services:api:volumes:- ./librechat.yaml:/app/librechat.yaml- image: ghcr.io/danny-avila/librechat-dev:latest+ image: librechat+ build:+ context: .+ target: nodemongodb:image: mongo:4.4.18diff --git a/docs/install/installation/docker_compose_install.md b/docs/install/installation/docker_compose_install.mdindex 720c838324..42142cc160 100644--- a/docs/install/installation/docker_compose_install.md+++ b/docs/install/installation/docker_compose_install.md@@ -117,23 +117,21 @@ For more info see:- MEILI_HOST=http://meilisearch:7700```-- If for some reason you're not able to build the app image, you can pull the latest image from **Dockerhub**.-- Create a new file named `docker-compose.override.yml` in the same directory as your main `docker-compose.yml` with this content:+- If you want your docker install to reflect changes made to your local folder, you can build the image locally using this method:+ - Create a new file named `docker-compose.override.yml` in the same directory as your main `docker-compose.yml` with this content:-```yaml-version: '3.4'--services:- api:- image: ghcr.io/danny-avila/librechat-dev:latest-```--- Then use `docker compose build` as you would normally--- **Note:** There are different Dockerhub images. the `librechat:latest` image is only updated with new release tags, so it may not have the latest changes to the main branch. To get the latest changes you can use `librechat-dev:latest` instead+ ```yaml+ version: '3.4'+ services:+ api:+ image: librechat+ build:+ context: .+ target: node+ ```-### **[LibreChat on Docker Hub](https://hub.docker.com/r/chatgptclone/app/tags)**+ - Then use `docker compose build` as you would normally### **[Create a MongoDB database](../configuration/mongodb.md)** (Not required if you'd like to use the local database installed by Docker)