Update
This commit is contained in:
@@ -40,7 +40,7 @@ services:
|
||||
environment:
|
||||
- QDRANT__SERVICE__GRPC_PORT=6334
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:6333/collections"]
|
||||
test: ["CMD-SHELL", "bash -c ':> /dev/tcp/127.0.0.1/6333' || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
@@ -75,7 +75,6 @@ services:
|
||||
environment:
|
||||
- MODEL_NAME=ViT-B-32
|
||||
- MODEL_PRETRAINED=openai
|
||||
- HUGGINGFACE_TOKEN=${HUGGINGFACE_TOKEN}
|
||||
healthcheck:
|
||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=5).read()"]
|
||||
interval: 30s
|
||||
@@ -88,9 +87,8 @@ services:
|
||||
context: .
|
||||
dockerfile: blip/Dockerfile
|
||||
environment:
|
||||
#- BLIP_MODEL=Salesforce/blip-image-captioning-base
|
||||
- BLIP_MODEL=Salesforce/blip-image-captioning-small
|
||||
- HUGGINGFACE_TOKEN=${HUGGINGFACE_TOKEN}
|
||||
- BLIP_MODEL=Salesforce/blip-image-captioning-base
|
||||
#- BLIP_MODEL=Salesforce/blip-image-captioning-small
|
||||
healthcheck:
|
||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=5).read()"]
|
||||
interval: 30s
|
||||
|
||||
Reference in New Issue
Block a user