mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-30 15:18:50 +01:00
Some checks are pending
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Waiting to run
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Waiting to run
Docker Dev Images Build / build (Dockerfile, librechat-dev, node) (push) Waiting to run
Docker Dev Images Build / build (Dockerfile.multi, librechat-dev-api, api-build) (push) Waiting to run
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions
- Changed MongoDB image from `mongo` to `mongo:8.0.17` in both `deploy-compose.yml` and `docker-compose.yml` files to ensure consistent usage of the specified version across environments.
72 lines
1.9 KiB
YAML
72 lines
1.9 KiB
YAML
# Do not edit this file directly. Use a ‘docker-compose.override.yaml’ file if you can.
|
||
# Refer to `docker-compose.override.yaml.example’ for some sample configurations.
|
||
|
||
services:
|
||
api:
|
||
container_name: LibreChat
|
||
ports:
|
||
- "${PORT}:${PORT}"
|
||
depends_on:
|
||
- mongodb
|
||
- rag_api
|
||
image: ghcr.io/danny-avila/librechat-dev:latest
|
||
restart: always
|
||
user: "${UID}:${GID}"
|
||
extra_hosts:
|
||
- "host.docker.internal:host-gateway"
|
||
environment:
|
||
- HOST=0.0.0.0
|
||
- MONGO_URI=mongodb://mongodb:27017/LibreChat
|
||
- MEILI_HOST=http://meilisearch:7700
|
||
- RAG_PORT=${RAG_PORT:-8000}
|
||
- RAG_API_URL=http://rag_api:${RAG_PORT:-8000}
|
||
volumes:
|
||
- type: bind
|
||
source: ./.env
|
||
target: /app/.env
|
||
- ./images:/app/client/public/images
|
||
- ./uploads:/app/uploads
|
||
- ./logs:/app/logs
|
||
mongodb:
|
||
container_name: chat-mongodb
|
||
image: mongo:8.0.17
|
||
restart: always
|
||
user: "${UID}:${GID}"
|
||
volumes:
|
||
- ./data-node:/data/db
|
||
command: mongod --noauth
|
||
meilisearch:
|
||
container_name: chat-meilisearch
|
||
image: getmeili/meilisearch:v1.12.3
|
||
restart: always
|
||
user: "${UID}:${GID}"
|
||
environment:
|
||
- MEILI_HOST=http://meilisearch:7700
|
||
- MEILI_NO_ANALYTICS=true
|
||
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
|
||
volumes:
|
||
- ./meili_data_v1.12:/meili_data
|
||
vectordb:
|
||
container_name: vectordb
|
||
image: pgvector/pgvector:0.8.0-pg15-trixie
|
||
environment:
|
||
POSTGRES_DB: mydatabase
|
||
POSTGRES_USER: myuser
|
||
POSTGRES_PASSWORD: mypassword
|
||
restart: always
|
||
volumes:
|
||
- pgdata2:/var/lib/postgresql/data
|
||
rag_api:
|
||
container_name: rag_api
|
||
image: ghcr.io/danny-avila/librechat-rag-api-dev-lite:latest
|
||
environment:
|
||
- DB_HOST=vectordb
|
||
- RAG_PORT=${RAG_PORT:-8000}
|
||
restart: always
|
||
depends_on:
|
||
- vectordb
|
||
env_file:
|
||
- .env
|
||
|
||
volumes:
|
||
pgdata2:
|