docker compose up --build
- Retrieve an authentication token and authenticate your Docker client to your registry. Use the AWS CLI:
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 899746369614.dkr.ecr.us-east-1.amazonaws.com
- Build your Docker image:
docker build -t uc-requestbin/requestbin .
Hint: this step in Dockerfile can last 5-6 minutes, but it will eventually complete:
RUN pip install -r /opt/requestbin/requirements.txt \
&& rm -rf ~/.pip/cache
- Tag your image:
docker tag uc-requestbin/requestbin 899746369614.dkr.ecr.us-east-1.amazonaws.com/uc-requestbin/requestbin:<new-version>
- Push your image to ECR:
docker push 899746369614.dkr.ecr.us-east-1.amazonaws.com/uc-requestbin/requestbin:<new-version>
The sections below come from the README.md of the original RequestBin project and these sections are deprecated.
We have discontinued the publicly hosted version of RequestBin due to ongoing abuse that made it very difficult to keep the site up reliably. Please see instructions below for setting up your own self-hosted instance.
Originally Created by Jeff Lindsay
MIT
Create a Heroku account if you haven't, then grab the RequestBin source using git:
$ git clone git://github.com/Runscope/requestbin.git
From the project directory, create a Heroku application:
$ heroku create
Add Heroku's redis addon:
$ heroku addons:add heroku-redis
Set an environment variable to indicate production:
$ heroku config:set REALM=prod
Now just deploy via git:
$ git push heroku master
It will push to Heroku and give you a URL that your own private RequestBin will be running.
On the server/machine you want to host this, you'll first need a machine with docker and docker-compose installed, then grab the RequestBin source using git:
$ git clone git://github.com/Runscope/requestbin.git
Go into the project directory and then build and start the containers
$ sudo docker-compose build
$ sudo docker-compose up -d
Your own private RequestBin will be running on this server.
- Barry Carlyon [email protected]
- Jeff Lindsay [email protected]
