37 lines
1.3 KiB
YAML
37 lines
1.3 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=document-wise
|
|
volumes:
|
|
- /network/Datas/_ToPaperless/Scan/ToMerge:/scan
|
|
networks:
|
|
- hpscan-net
|
|
|
|
networks:
|
|
hpscan-net:
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: 172.51.0.0/24 |