1
0
Fork 0
This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
librechat-mistral/docker-compose.yml

72 lines
1.6 KiB
YAML
Raw Normal View History

2024-02-03 03:27:22 +00:00
version: "3"
services:
ollama:
image: ollama/ollama:0.1.22-rocm
restart: unless-stopped
entrypoint: /bootstrap.sh
2024-02-06 18:29:43 +00:00
command: mistral
2024-02-03 03:27:22 +00:00
env_file:
- .env
ports:
- 11434:11434
devices:
- /dev/kfd
- /dev/dri
group_add:
- video
ipc: host
cap_add:
- SYS_PTRACE
security_opt:
- seccomp=unconfined
volumes:
- ./ollama/bootstrap.sh:/bootstrap.sh:ro
- ollama:/root/.ollama
litellm:
image: ghcr.io/berriai/litellm:main-latest
command: --config /config.yaml
ports:
- 8000:8000
volumes:
- ./litellm/config.yaml:/config.yaml:ro
librechat:
image: ghcr.io/danny-avila/librechat
ports:
- 3080:3080
depends_on:
- mongodb
restart: unless-stopped
# user: "${UID}:${GID}"
env_file:
- .env
environment:
- HOST=0.0.0.0
- MONGO_URI=mongodb://mongodb:27017/LibreChat
- MEILI_HOST=http://meilisearch:7700
volumes:
- ./librechat/librechat.yaml:/app/librechat.yaml:ro
- librechat_images:/app/client/public/images
mongodb:
image: mongo
restart: unless-stopped
# user: "${UID}:${GID}"
volumes:
- librechat_mongodb_data:/data/db
command: mongod --noauth
meilisearch:
image: getmeili/meilisearch:v1.5
restart: unless-stopped
# user: "${UID}:${GID}"
environment:
- MEILI_HOST=http://meilisearch:7700
- MEILI_NO_ANALYTICS=true
volumes:
- librechat_meilisearch_data:/meili_data
volumes:
ollama:
librechat_images:
librechat_mongodb_data:
librechat_meilisearch_data: