Spaces:
Sleeping
Sleeping
File size: 579 Bytes
c02c6ce | 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 | version: '3.8'
services:
fridge-vision-api:
build: .
container_name: fridge-vision
ports:
- "8000:8000"
environment:
- MODEL_NAME=yolov5s
- CONF_THRESHOLD=0.5
- API_HOST=0.0.0.0
- API_PORT=8000
- LOG_LEVEL=INFO
- DEBUG=false
volumes:
- ./data:/app/data
- ./logs:/app/logs
restart: unless-stopped
# Uncomment for GPU support
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
|