compose versions env vars

This commit is contained in:
phact 2025-09-08 16:22:20 -04:00
parent a4e271cb37
commit 3c6c8f999b
2 changed files with 12 additions and 11 deletions

View file

@ -1,8 +1,9 @@
services: services:
opensearch: opensearch:
build: image: phact/openrag-opensearch:${OPENRAG_VERSION:-latest}
context: . #build:
dockerfile: Dockerfile # context: .
# dockerfile: Dockerfile
container_name: os container_name: os
depends_on: depends_on:
- openrag-backend - openrag-backend
@ -38,7 +39,7 @@ services:
- "5601:5601" - "5601:5601"
openrag-backend: openrag-backend:
image: phact/openrag-backend:latest image: phact/openrag-backend:${OPENRAG_VERSION:-latest}
#build: #build:
#context: . #context: .
#dockerfile: Dockerfile.backend #dockerfile: Dockerfile.backend
@ -72,7 +73,7 @@ services:
- ./keys:/app/keys:Z - ./keys:/app/keys:Z
openrag-frontend: openrag-frontend:
image: phact/openrag-frontend:latest image: phact/openrag-frontend:${OPENRAG_VERSION:-latest}
#build: #build:
#context: . #context: .
#dockerfile: Dockerfile.frontend #dockerfile: Dockerfile.frontend
@ -87,7 +88,7 @@ services:
langflow: langflow:
volumes: volumes:
- ./flows:/app/flows:Z - ./flows:/app/flows:Z
image: phact/langflow:responses image: phact/langflow:${LANGFLOW_VERSION:-responses}
container_name: langflow container_name: langflow
ports: ports:
- "7860:7860" - "7860:7860"

View file

@ -1,6 +1,6 @@
services: services:
opensearch: opensearch:
image: phact/openrag-opensearch:latest image: phact/openrag-opensearch:${OPENRAG_VERSION:-latest}
#build: #build:
#context: . #context: .
#dockerfile: Dockerfile #dockerfile: Dockerfile
@ -39,7 +39,7 @@ services:
- "5601:5601" - "5601:5601"
openrag-backend: openrag-backend:
image: phact/openrag-backend:latest image: phact/openrag-backend:${OPENRAG_VERSION:-latest}
#build: #build:
#context: . #context: .
#dockerfile: Dockerfile.backend #dockerfile: Dockerfile.backend
@ -73,7 +73,7 @@ services:
gpus: all gpus: all
openrag-frontend: openrag-frontend:
image: phact/openrag-frontend:latest image: phact/openrag-frontend:${OPENRAG_VERSION:-latest}
#build: #build:
#context: . #context: .
#dockerfile: Dockerfile.frontend #dockerfile: Dockerfile.frontend
@ -88,7 +88,7 @@ services:
langflow: langflow:
volumes: volumes:
- ./flows:/app/flows:Z - ./flows:/app/flows:Z
image: phact/langflow:responses image: phact/langflow:${LANGFLOW_VERSION:-responses}
container_name: langflow container_name: langflow
ports: ports:
- "7860:7860" - "7860:7860"
@ -104,4 +104,4 @@ services:
- LANGFLOW_SUPERUSER=${LANGFLOW_SUPERUSER} - LANGFLOW_SUPERUSER=${LANGFLOW_SUPERUSER}
- LANGFLOW_SUPERUSER_PASSWORD=${LANGFLOW_SUPERUSER_PASSWORD} - LANGFLOW_SUPERUSER_PASSWORD=${LANGFLOW_SUPERUSER_PASSWORD}
- LANGFLOW_NEW_USER_IS_ACTIVE=${LANGFLOW_NEW_USER_IS_ACTIVE} - LANGFLOW_NEW_USER_IS_ACTIVE=${LANGFLOW_NEW_USER_IS_ACTIVE}
- LANGFLOW_ENABLE_SUPERUSER_CLI=${LANGFLOW_ENABLE_SUPERUSER_CLI} - LANGFLOW_ENABLE_SUPERUSER_CLI=${LANGFLOW_ENABLE_SUPERUSER_CLI}