Sign inSign up

leafney/alpine-anyproxy

By leafney

Updated over 6 years ago

anyproxy

Image
0

350

leafney/alpine-anyproxy repository overview

alpine-anyproxy
AnyProxy Doc

AnyProxy

Run
docker run --name anyproxy -d --restart=always -p 8001:8001 -p 8002:8002 leafney/alpine-anyproxy
Test
curl http://httpbin.org/user-agent --proxy http://:8001
Example

Use custom rule file, for example:

FROM leafney/alpine-anyproxy:4.1.0-cn
LABEL maintainer="leafney <[email protected]>"

RUN yarn config set registry https://registry.npm.taobao.org && \
    yarn add querystring cheerio axios

COPY wx_spider.js /app/spider.js

WORKDIR /app

CMD [ "anyproxy","-i","--rule","/app/spider.js" ]

Tag summary

Content type

Image

Digest

Size

47 MB

Last updated

over 6 years ago

docker pull leafney/alpine-anyproxy