From 1bf91e781fe7791c149dffd39824a1a487612a1d Mon Sep 17 00:00:00 2001 From: L4RM4ND <21357789+l4rm4nd@users.noreply.github.com> Date: Tue, 16 Jan 2024 16:04:30 +0100 Subject: [PATCH] add request bins --- README.md | 11 +++++++ examples/requestbin/README.md | 9 ++++++ examples/requestbin/docker-compose.yml | 40 ++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 examples/requestbin/README.md create mode 100644 examples/requestbin/docker-compose.yml diff --git a/README.md b/README.md index 244d305..c31b13c 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ docker compose up - [Photo and Video Galleries](#photo-and-video-galleries) - [Proxy](#proxy) - [Recipe Management](#recipe-management) +- [Request Bins](#request-bins) - [Security & Privacy](#security--privacy) - [Software Development - Project Management, DevOps](#software-development---project-management-devops) - [URL Shorteners](#url-shorteners) @@ -396,6 +397,16 @@ A [wiki](https://en.wikipedia.org/wiki/Wiki) is a publication collaboratively ed - [Domainmod](examples/domainmod) - DomainMOD is an open source application used to manage your domains and other internet assets in a central location. - [Snipe-IT](examples/snipe-it) - Snipe-IT is a free, open source IT asset management system written in PHP. +### Request Bins + +**[`^ back to top ^`](#-project-list)** + +A request bin service allows one to collect and inspect HTTP requests. It may be used to create mock API endpoints or troubleshoot HTTP requests. Also used by security professionals to verify security vulnerabilities like Server Side Request Forgery (SSRF) and others. + +- [RequestBin](examples/requestbin) - RequestBin gives you a unique URL that collects HTTP requests for debugging and development purposes. +- [Request-Baskets](https://github.com/darklynx/request-baskets) - HTTP requests collector to test webhooks, notifications, REST clients and more. +- [Mockbin](https://github.com/Kong/mockbin) - Mock, Test & Track HTTP Requests and Response for Microservices. + ### Miscellaneous **[`^ back to top ^`](#-project-list)** diff --git a/examples/requestbin/README.md b/examples/requestbin/README.md new file mode 100644 index 0000000..bfdd5be --- /dev/null +++ b/examples/requestbin/README.md @@ -0,0 +1,9 @@ +# References + +- https://github.com/l4rm4nd/Requestbin + +# Notes + +This is revived fork of the discontinued RequestBin repository at https://github.com/RonTt/Requestbin. + +Note that the repository is not actively maintained. It still works though. diff --git a/examples/requestbin/docker-compose.yml b/examples/requestbin/docker-compose.yml new file mode 100644 index 0000000..df4743c --- /dev/null +++ b/examples/requestbin/docker-compose.yml @@ -0,0 +1,40 @@ +version: "3.3" + +services: + app: + image: l4rm4nd/requestbin:latest + hostname: requestbin + container_name: requestbin + restart: unless-stopped + ports: + - 8000:8000 + expose: + - 8000 + environment: + REALM: prod + REDIS_URL: "//redis:6379" + links: + - redis + #networks: + # - dev + #labels: + # - traefik.enable=true + # - traefik.docker.network=dev + # - traefik.http.routers.requestbin.rule=Host(`bin.example.com`) + # - traefik.http.services.requestbin.loadbalancer.server.port=8000 + # # Optional part for traefik middlewares + # - traefik.http.routers.requestbin.middlewares=local-ipwhitelist@file,authelia@docker + + redis: + image: redis:alpine + hostname: redis + container_name: requestbin_redis + restart: unless-stopped + #volumes: + # - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/requestbin/redis:/data + #networks: + # - dev + +#networks: +# dev: +# external: true