Public | Automated Build

Last pushed: 6 days ago
Short Description
Pulls jobs from queue, saves as .json
Full Description



robot-queue-pull

Pulls job from queue

Setup

Update docker.env

JWT_SECRET=Louie Louie, oh no, I got to go Louie Louie, oh no, I got to go
JOB_DIRECTORY_PATH=test/directories/jobs
COPIES_DIRECTORY_PATH=test/directories/copies
CALLBACK_URL=https://example.com/api/callback
QUEUE_NEXT_URL=https://example.com/api/queue/next
QUEUE_DELETE_URL=https://example.com/api/queue
PAPERTRAIL_HOSTNAME=robot-queue-pull
PAPERTRAIL_HOST=logs.papertrailapp.com
PAPERTRAIL_PORT=12345

Callback

If you don't need a callback service just remove CALLBACK_URL from config.

Build

$ docker build -t robot-queue-pull .

Usage

$ docker run --env-file=docker.env --volume=/test/directories/jobs:/src/test/directories/jobs --rm robot-queue-pull

This will start a container. Do the job. Stop the container and remove it.

License

MIT

Docker Pull Command
Owner
telemark
Source Repository

Comments (0)