-
Notifications
You must be signed in to change notification settings - Fork 276
/
Copy pathdocker-compose.yml
41 lines (38 loc) · 1.03 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "3.11"
services:
grounding_dino:
container_name: grounding_dino
image: heartexlabs/label-studio-ml-backend:grnddino-master
init: true
build:
context: .
args:
TEST_ENV: ${TEST_ENV}
# Increase the memory limit if you USE_SAM=true on CPU machine
# deploy:
# resources:
# reservations:
# memory: 16G
environment:
- MODEL_DIR=/data/models
- WORKERS=2
- THREADS=4
- LOG_LEVEL=DEBUG
# Add these variables if you want to access the images stored in Label Studio
- LABEL_STUDIO_HOST=https://app.heartex.com/
- LABEL_STUDIO_ACCESS_TOKEN=your_access_token
- BOX_THRESHOLD=0.30
- TEXT_THRESHOLD=0.25
# Uncomment the following lines if you want to use GPU
# - NVIDIA_VISIBLE_DEVICES=all
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
ports:
- "9090:9090"
volumes:
- "./data/server:/data"