Add duplex and pdf output

This commit is contained in:
2026-07-15 15:27:15 +02:00
parent e0530e7c93
commit 2c62dbef5d
+2 -2
View File
@@ -18,11 +18,11 @@ services:
# Optional - enable autoscanning a document when loaded into the scanner: # Optional - enable autoscanning a document when loaded into the scanner:
- MAIN_COMMAND=adf-autoscan - MAIN_COMMAND=adf-autoscan
# If you need to pass additional configuration flag use the CMDLINE env, thy will be appened to the # If you need to pass additional configuration flag use the CMDLINE env, thy will be appened to the
- CMDLINE=--pdf --add-emulated-duplex document-wise - CMDLINE=--pdf
# If using Paperless-ngx, you can use its API to upload files: # 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_POST_DOCUMENT_URL=http://<paperless-host>:<port>/api/documents/post_document/
# - PAPERLESS_TOKEN= xxxxxxxxxxxx... # - PAPERLESS_TOKEN= xxxxxxxxxxxx...
- RESOLUTION=300 - RESOLUTION=300
# - ADD_EMULATED_DUPLEX=true - ADD_EMULATED_DUPLEX=document-wise
volumes: volumes:
- /network/Datas/_ToPaperless:/scan - /network/Datas/_ToPaperless:/scan