This commit is contained in:
root
2026-03-23 20:37:44 +01:00
parent b8c44bd1b2
commit 613023de86
2 changed files with 3 additions and 5 deletions

0
data/qdrant/.gitignore vendored Normal file → Executable file
View File

View File

@@ -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