https://github.com/leafney/alpine-anyproxy
anyproxy
https://github.com/leafney/alpine-anyproxy
Last synced: 3 months ago
JSON representation
anyproxy
- Host: GitHub
- URL: https://github.com/leafney/alpine-anyproxy
- Owner: leafney
- Created: 2019-12-03T15:07:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-17T09:17:32.000Z (over 5 years ago)
- Last Synced: 2025-01-14T15:23:46.880Z (5 months ago)
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### alpine-anyproxy
#### AnyProxy Doc
[AnyProxy](http://anyproxy.io/cn/)
#### 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 "RUN yarn config set registry https://registry.npm.taobao.org && \
yarn add querystring cheerio axiosCOPY wx_spider.js /app/spider.js
WORKDIR /app
CMD [ "anyproxy","-i","--rule","/app/spider.js" ]
```