API working

This commit is contained in:
Ryan Shpeherd
2026-09-09 11:19:00 -04:00
parent ea46d418bd
commit e4e5d75336
6 changed files with 24 additions and 14 deletions
+34
View File
@@ -0,0 +1,34 @@
# VideoDetect — Scanner service (standalone compose file)
# Run: docker compose -f scanner-compose.yml up -d
services:
scanner:
build:
context: ./
dockerfile: Dockerfile
container_name: videodetect-scanner
restart: no
environment:
- DB_HOST=${DB_HOST}
- DB_PORT=3306
- DB_NAME=${DB_NAME}
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}
- API_HOST=${API_HOST}
volumes:
- nas_input:/data:ro
- $PWD/scanner.pl:/app/scanner.pl:ro
networks:
- videodetect_videodetect-network
volumes:
nas_input:
driver: local
driver_opts:
type: nfs
o: addr=10.0.0.2,ro,nfsvers=4,hard,intr
device: ":/mnt/Bulk/Homes/ryan/Prawns"
networks:
videodetect_videodetect-network:
external: true