mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +02:00

* chore(deploy-compose.yml): update API and client image references to use latest versions from ghcr.io feat(deploy-compose.yml): add NODE_ENV environment variable with value 'production' for API service * chore(dev-images.yml): tag and push latest images to container registry chore(dev-images.yml): tag and push latest client image to container registry chore(dev-images.yml): tag and push latest dev image to container registry fix(Dockerfile.multi): fix CMD command to properly set NODE_ENV variable
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
version: "3.8"
|
|
services:
|
|
api:
|
|
image: ghcr.io/danny-avila/librechat-dev-api:latest
|
|
container_name: LibreChat-API
|
|
ports:
|
|
- 9000:3080
|
|
depends_on:
|
|
- mongodb
|
|
restart: always
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- HOST=0.0.0.0
|
|
- NODE_ENV=production
|
|
- MONGO_URI=mongodb://mongodb:27017/LibreChat
|
|
- MEILI_HOST=http://meilisearch:7700
|
|
- MEILI_HTTP_ADDR=meilisearch:7700
|
|
client:
|
|
image: ghcr.io/danny-avila/librechat-dev-client:latest
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
depends_on:
|
|
- api
|
|
restart: always
|
|
mongodb:
|
|
container_name: chat-mongodb
|
|
ports:
|
|
- 27018:27017
|
|
image: mongo
|
|
restart: always
|
|
volumes:
|
|
- ./data-node:/data/db
|
|
command: mongod --noauth
|
|
meilisearch:
|
|
container_name: chat-meilisearch
|
|
image: getmeili/meilisearch:v1.0
|
|
ports:
|
|
- 7700:7700
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- MEILI_HOST=http://meilisearch:7700
|
|
- MEILI_HTTP_ADDR=meilisearch:7700
|
|
- MEILI_NO_ANALYTICS=true
|
|
volumes:
|
|
- ./meili_data:/meili_data
|