HUB
Sign inSign up
mockbin logo

dockette/mockbin

Sponsored OSS

By dockette

•Updated 23 days ago

🐳 Mockbin — trace and mock HTTP requests

Image
0

50K+

dockette/mockbin repository overview

⁠Dockette / Mockbin

Trace HTTP requests with pleasure.

šŸ•¹ f3l1x.io⁠ | šŸ’» f3l1x⁠ | 🐦 @xf3l1x⁠


Trace HTTP requests with pleasure. Mockbin⁠ with Redis storage.

⁠Features

  • Node.js 16 on Alpine
  • Port 8000, stores requests in Redis

⁠Usage

# docker-compose.yml
version: "3.7"

services:
    httpdump:
        image: dockette/mockbin
        ports:
            - 8000:8000
        environment:
            - MOCKBIN_REDIS=redis://redis:6379

    redis:
        image: redis:7-alpine
        ports:
            - 6379:6379

⁠Configuration

Set these environment variables. The values are the defaults.

MOCKBIN_PORT=8000
MOCKBIN_QUITE=false
MOCKBIN_REDIS=redis://redis:6379

⁠Versions

VersionRelease
dockette/mockbin:1.6.3-YYYY.MM.DDrelease YYYY.MM.DD
dockette/mockbin:1.6.3latest release
dockette/mockbin:YYYY.MM.DDrelease YYYY.MM.DD
dockette/mockbin:latestlatest build of master

All versions run mockbin 1.6.3, pinned by MOCKBIN_VERSION in VERSION. Releases are listed on GitHub⁠.

⁠Development

make docker-build   # build the image
make docker-push    # push the image
make test-up        # start Mockbin and Redis with docker-compose
make test-in        # open a shell in the Mockbin container
make version        # print VERSION
make release        # set today's date in VERSION

⁠Maintenance

See how to contribute⁠ to this package. Consider to support⁠ f3l1x. Thank you for using this package.

Tag summary

Content type

Image

Digest

sha256:a58034704…

Size

46 MB

Last updated

23 days ago

docker pull dockette/mockbin

This week's pulls

Pulls:

612

Last week