Fix docker-compose YAML: env_file and service block indentations

This commit is contained in:
2026-03-21 09:40:40 +01:00
parent 3a015eb3b9
commit 7208c45768

View File

@@ -5,12 +5,14 @@ services:
dockerfile: gateway/Dockerfile dockerfile: gateway/Dockerfile
ports: ports:
- "8003:8000" - "8003:8000"
env_file:
- .env
environment: environment:
- CLIP_URL=http://clip:8000 - CLIP_URL=http://clip:8000
- BLIP_URL=http://blip:8000 - BLIP_URL=http://blip:8000
- YOLO_URL=http://yolo:8000 - YOLO_URL=http://yolo:8000
- QDRANT_SVC_URL=http://qdrant-svc:8000 - QDRANT_SVC_URL=http://qdrant-svc:8000
- API_KEY=please-change-me - API_KEY=${API_KEY}
- VISION_TIMEOUT=300 - VISION_TIMEOUT=300
- MAX_IMAGE_BYTES=52428800 - MAX_IMAGE_BYTES=52428800
depends_on: depends_on:
@@ -47,14 +49,11 @@ services:
context: . context: .
dockerfile: clip/Dockerfile dockerfile: clip/Dockerfile
environment: environment:
env_file:
- .env
- MODEL_NAME=ViT-B-32 - MODEL_NAME=ViT-B-32
- MODEL_PRETRAINED=openai - MODEL_PRETRAINED=openai
blip: blip:
build: build:
- API_KEY=${API_KEY}
context: . context: .
dockerfile: blip/Dockerfile dockerfile: blip/Dockerfile
environment: environment: