Move to new db setup

This commit is contained in:
Ryan
2026-09-08 20:31:06 -04:00
parent 78358e0d7b
commit ea46d418bd
18 changed files with 468 additions and 2043 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: ./scanner
dockerfile: Dockerfile
container_name: videodetect-scanner
restart: unless-stopped
environment:
- DB_HOST=${DB_HOST}
- DB_PORT=3306
- DB_NAME=${DB_NAME}
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}
- API_HOST=${API_HOST}
- CONFIG_PATH=/app/config.yaml
volumes:
- nas_input:/data: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