Pulls jobs from queue, saves as .json
1.6K
Retrieves all jobs from queue
Update docker.env
NODE_ENV=production
JWT_SECRET=Louie Louie, oh no, I got to go Louie Louie, oh no, I got to go
JOBS_DIRECTORY_PATH=test/directories/jobs
COPIES_DIRECTORY_PATH=test/directories/copies
#AUTH_USERNAME=username - only use if needed
#AUTH_PASSWORD=password - only use if needed
QUEUE_URL=https://example.com/api/queue/next
#CALLBACK_URL=https://example.com/api/callback - only use if needed
PAPERTRAIL_HOSTNAME=robot-queue-pull
PAPERTRAIL_HOST=logs.papertrailapp.com
PAPERTRAIL_PORT=12345
If you don't need a callback service just remove CALLBACK_URL from config.
If you don't need to authenticate with username and password, remove AUTH_USERNAME and AUTH_PASSWORD from config
$ docker build -t robot-queue-pull .
$ 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.
Content type
Image
Digest
Size
46.4 MB
Last updated
over 5 years ago
docker pull telemark/robot-queue-pull