Sign inSign up

telemark/robot-post-json

By telemark

•Updated over 8 years ago

Posts content of json-file to given url

Image
0

752

telemark/robot-post-json repository overview

Build Status js-standard-style Greenkeeper badge

⁠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⁠

Robohash image of robot-post-json

Tag summary

Content type

Image

Digest

Size

34.3 MB

Last updated

over 8 years ago

docker pull telemark/robot-post-json