Fix docker-compose YAML: env_file and service block indentations
This commit is contained in:
@@ -5,12 +5,14 @@ services:
|
||||
dockerfile: gateway/Dockerfile
|
||||
ports:
|
||||
- "8003:8000"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- CLIP_URL=http://clip:8000
|
||||
- BLIP_URL=http://blip:8000
|
||||
- YOLO_URL=http://yolo:8000
|
||||
- QDRANT_SVC_URL=http://qdrant-svc:8000
|
||||
- API_KEY=please-change-me
|
||||
- API_KEY=${API_KEY}
|
||||
- VISION_TIMEOUT=300
|
||||
- MAX_IMAGE_BYTES=52428800
|
||||
depends_on:
|
||||
@@ -47,14 +49,11 @@ services:
|
||||
context: .
|
||||
dockerfile: clip/Dockerfile
|
||||
environment:
|
||||
env_file:
|
||||
- .env
|
||||
- MODEL_NAME=ViT-B-32
|
||||
- MODEL_PRETRAINED=openai
|
||||
|
||||
blip:
|
||||
build:
|
||||
- API_KEY=${API_KEY}
|
||||
context: .
|
||||
dockerfile: blip/Dockerfile
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user