mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-04-17 21:34:37 +02:00
wip: testing dev image workflows and deployment setup (#716)
* 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
This commit is contained in:
parent
32281d1b8d
commit
2a6e000217
3 changed files with 12 additions and 9 deletions
|
|
@ -1,10 +1,7 @@
|
|||
version: "3.8"
|
||||
services:
|
||||
api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.multi
|
||||
target: api-build
|
||||
image: ghcr.io/danny-avila/librechat-dev-api:latest
|
||||
container_name: LibreChat-API
|
||||
ports:
|
||||
- 9000:3080
|
||||
|
|
@ -17,14 +14,12 @@ services:
|
|||
- .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:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.multi
|
||||
target: prod-stage
|
||||
image: ghcr.io/danny-avila/librechat-dev-client:latest
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue