Public | Automated Build

Last pushed: 10 days ago
Short Description
Posts content of json-file to given url
Full Description



robot-post-json

Posts content of json-file to given url

Setup

Update docker.env with correct settings

DONE_DIRECTORY_PATH=test/directories/done
ERRORS_DIRECTORY_PATH=test/directories/errors
QUEUE_DIRECTORY_PATH=test/directories/queue
RETRY_DIRECTORY_PATH=test/directories/retries
JWT_SECRET=Louie Louie, oh no, I got to go Louie Louie, oh no, I got to go
SERVICE_URL=https://echo.mikrotjeneste.win
PAPERTRAIL_HOSTNAME=robot-post
PAPERTRAIL_HOST=logs.papertrailapp.com
PAPERTRAIL_PORT=12345

Build

$ docker build -t robot-post-json .

Usage

$ docker run --env-file=docker.env --volume=/test/data/directories/queue:/src/test/directories/queue --rm robot-post-json

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)