Update docker-compose.yml (#81)

adding context parameters as it's needed for docker compose 2.19.0
This commit is contained in:
chenblueridge
2023-12-22 13:52:47 -08:00
committed by GitHub
parent 1a30710fc8
commit 137b31fa60

View File

@@ -20,6 +20,7 @@ services:
pull-model:
image: genai-stack/pull-model:latest
build:
context: .
dockerfile: pull_model.Dockerfile
environment:
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL-http://host.docker.internal:11434}
@@ -48,6 +49,7 @@ services:
loader:
build:
context: .
dockerfile: loader.Dockerfile
volumes:
- $PWD/embedding_model:/embedding_model
@@ -88,6 +90,7 @@ services:
bot:
build:
context: .
dockerfile: bot.Dockerfile
volumes:
- $PWD/embedding_model:/embedding_model
@@ -127,6 +130,7 @@ services:
pdf_bot:
build:
context: .
dockerfile: pdf_bot.Dockerfile
environment:
- NEO4J_URI=${NEO4J_URI-neo4j://database:7687}
@@ -164,6 +168,7 @@ services:
api:
build:
context: .
dockerfile: api.Dockerfile
volumes:
- $PWD/embedding_model:/embedding_model
@@ -208,6 +213,7 @@ services:
front-end:
build:
context: .
dockerfile: front-end.Dockerfile
x-develop:
watch: