Docker proxy based on TOXY (https://github.com/h2non/toxy)
-
Clone this repository
-
Build it
docker build -t toxy .
-
Edit toxy.js (check params at https://github.com/h2non/toxy)
-
Run it
docker run -d -p 3000:3000 -p 9000:9000 -v $(pwd)/toxy.js:/toxy.js --name proxy toxy
- Access it
curl http://localhost:3000