--- version: "3.3" services: ocrmypdf: restart: always container_name: ocrmypdf image: jbarlow83/ocrmypdf volumes: - "/media/scan:/input" - "/mnt/scan:/output" environment: - OCR_OUTPUT_DIRECTORY_YEAR_MONT=0 user: ":" entrypoint: python3 command: watcher.py