mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-25 11:46:12 +01:00
🐋 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:
parent
128446601a
commit
4012dea4ab
4 changed files with 28 additions and 23 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue