🐋 Feat: docker pre-built image by default (#1860)

* 🐋 Feat: docker pre-built image by default

* 🐋 Feat: docker LibreChat ports from .env
This commit is contained in:
Fuegovic 2024-02-22 13:20:27 -05:00 committed by GitHub
parent 128446601a
commit 4012dea4ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 28 additions and 23 deletions

View file

@ -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:
```yaml
version: '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: node
mongodb:
image: mongo:4.4.18