Files
node-hp-scan-to/docker-compose.yml
T
2026-07-15 15:07:54 +02:00

28 lines
1.2 KiB
YAML

services:
node-hp-scan-to:
image: docker.io/manuc66/node-hp-scan-to:latest
restart: always
hostname: node-hp-scan-to
environment:
# REQUIRED - Change the next line to the IP address of your HP printer/scanner:
- IP=192.168.10.29
# Name that your container will appear as to your printer:
- LABEL=node-hp-scan-to
# Set the timezone, such as "Europe/London":
- TZ=Europe/Paris
# Set the created filename pattern:
- PATTERN="scan"_dd-mm-yyyy_hh-MM-ss
# Run the Docker container as the same user ID as the host system:
- PGID=1000
- PUID=1000
# Optional - enable autoscanning a document when loaded into the scanner:
- MAIN_COMMAND=adf-autoscan
# If you need to pass additional configuration flag use the CMDLINE env, thy will be appened to the
- CMDLINE=--pdf
# If using Paperless-ngx, you can use its API to upload files:
# - PAPERLESS_POST_DOCUMENT_URL=http://<paperless-host>:<port>/api/documents/post_document/
# - PAPERLESS_TOKEN= xxxxxxxxxxxx...
- RESOLUTION=300
- ADD_EMULATED_DUPLEX=true
volumes:
- /var/lib/docker/volumes/scan:/scan