Update
This commit is contained in:
0
data/qdrant/.gitignore
vendored
Normal file → Executable file
0
data/qdrant/.gitignore
vendored
Normal file → Executable file
@@ -40,7 +40,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- QDRANT__SERVICE__GRPC_PORT=6334
|
- QDRANT__SERVICE__GRPC_PORT=6334
|
||||||
healthcheck:
|
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
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 5
|
retries: 5
|
||||||
@@ -75,7 +75,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- MODEL_NAME=ViT-B-32
|
- MODEL_NAME=ViT-B-32
|
||||||
- MODEL_PRETRAINED=openai
|
- MODEL_PRETRAINED=openai
|
||||||
- HUGGINGFACE_TOKEN=${HUGGINGFACE_TOKEN}
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=5).read()"]
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=5).read()"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -88,9 +87,8 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: blip/Dockerfile
|
dockerfile: blip/Dockerfile
|
||||||
environment:
|
environment:
|
||||||
#- BLIP_MODEL=Salesforce/blip-image-captioning-base
|
- BLIP_MODEL=Salesforce/blip-image-captioning-base
|
||||||
- BLIP_MODEL=Salesforce/blip-image-captioning-small
|
#- BLIP_MODEL=Salesforce/blip-image-captioning-small
|
||||||
- HUGGINGFACE_TOKEN=${HUGGINGFACE_TOKEN}
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=5).read()"]
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=5).read()"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|||||||
Reference in New Issue
Block a user