A simple HTTP server that dumps the request to files. HTTP Dump was created to help dumping Webhook messages into files.
# Optional. Default: "true"
export DUMP_FILE="true"
# Optional. Default: "/data"
export DUMP_FILE_DIRECTORY="/data"
# Optional. Default: ""
export DUMP_FILE_PREFIX=""
# Optional. Default: "true"
export DUMP_STDOUT="true"
docker run \
--rm \
--interactive \
--tty \
--env DUMP_FILE \
--env DUMP_FILE_DIRECTORY \
--env DUMP_FILE_PREFIX \
--env DUMP_STDOUT \
--publish 127.0.0.1:8080:8080/tcp \
--volume "$PWD/.data:$DUMP_DIRECTORY" \
theanurin/http-dump
After start, any requests to http://127.0.0.1:8080/ will save as dump files in DUMP_DIRECTORY.
Content type
Image
Digest
sha256:86e263a46…
Size
46.1 MB
Last updated
over 2 years ago
docker pull theanurin/http-dump