API working
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user