version: '3.8' services: postgres: image: timescale/timescaledb-ha:pg16 container_name: vodseed-db environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=yourpassword - POSTGRES_DB=vodseed volumes: - vodseed_data:/var/lib/postgresql/data ports: - "5432:5432" healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 10s timeout: 5s retries: 5 scanner: build: context: . dockerfile: Dockerfile.vodseed container_name: vodseed-scanner depends_on: postgres: condition: service_healthy environment: - DB_HOST=postgres - DB_USER=postgres - DB_PASSWORD=bioplant - DB_NAME=vodseed volumes: # Mount your Unraid VODs - adjust path as needed - /Volumes/VODs:/vods:ro # Mount the scripts - ./scripts:/app working_dir: /app command: python -u scanner.py volumes: vodseed_data: