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

View file

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