Sign inSign up

jack12816/scanner-container

By jack12816

•Updated almost 11 years ago

Scanner -> FTP -> PDF/OCR pipeline container

Image
0

3.0K

jack12816/scanner-container repository overview

e5 Scanner Container

View project sources⁠.

⁠Workflow

Workflow

⁠Requirements

⁠Production

⁠Deployment

This application is able to be deployed with the help of docker. The next sections will help you building a shipable image of the app.

⁠Quick Start
    -e 'MAX_PARALLEL_JOBS=8' \
    "jack12816/scanner-container:0.3.0"
⁠Available Configuration Parameters
⁠General Options
  • KEEP_ORIGINAL: Switch to keep the original input file. Defaults to: false.
⁠Process Limits
  • MAX_PARALLEL_JOBS: Number of parallel job. Defaults to: 8.
⁠Data Directories
  • DATA_IN: Data directory inside the container to watch for new files. Defaults to: /app/data/in.
  • DATA_TMP: Data directory inside the container to store temporary files. Defaults to: /app/data/tmp.
  • DATA_OUT: Data directory inside the container to store all outputs. Defaults to: /app/data/out.
⁠Data Volumes

In order to kick off a docker container you need to specify data volumes. These data volumes should be host bind mounts for this application, but if you like to store outputs on a docker container volume its fine, too. Anyways the following examples are host bind mounts.

The default paths for the daemon inside the container are /app/data/{in,tmp,out}. Just ignore tmp if you don't be interessted in temporary stuff. The in and out directories needs to be mounted.

    -e 'MAX_PARALLEL_JOBS=8' \
    -v '/host/path/to/in:/app/data/in' \
    -v '/host/path/to/out:/app/data/out' \
    "jack12816/scanner-container:0.3.0"
``

Tag summary

Content type

Image

Digest

sha256:d37f19ba9…

Size

125 MB

Last updated

almost 11 years ago

docker pull jack12816/scanner-container