Minimal image of the RequestBin app by Runscope
1M+
Originally Created by Jeff Lindsay
Docker contribution by Rion Dooley
License: MIT
Install Docker Compose if you do not have it already installed.
Clone the project fro github
$ git clone https://bitbucket.org/agaveapi/requestbin
From the project directory, run docker-compose:
$ cd requestbin
$ docker-compose up
This will run the automated build of the image and run it, exposing the app on port 5000.
By default the app runs with a memory cache. If you would like to switch to a Redis backend, uncomment the commented out lines in docker-compose.yml. Once you have done this, run docker-compose again:
$ docker-compose kill && docker-compose rm -f
$ docker-compose up
This will pull down the trusted redis image and run with a mounted volume as a linked container to the RequestBin app. This should give you some fault tolerance between failures since Redis will not be ephimeral.
The automated build is available in the Docker central repository as agaveapi/requestbin.
Pull the image down from the Docker central repository:
$ docker run -d -p "5000:5000" agaveapi/requestbin
This will start the container with the requestbin app available externally on port 5000. To run the image with a Redis back end, you need to startup redis first. Preferably with a mounted volume.
$ docker run -d -v /usr/data:/data \
--name some-redis \
redis redis-server --appendonly yes
$ docker run -d --link some-redis:redis \
-e "STORAGE_BACKEND=requestbin.storage.redis.RedisStorage" \
-p "5000:5000" \
agaveapi/requestbin
Content type
Image
Digest
Size
55.1 MB
Last updated
over 10 years ago
docker pull agaveapi/requestbin:master