Last active
October 18, 2018 03:01
-
-
Save gengen1988/bdece1874c2004ff6533f87d3b28a7f4 to your computer and use it in GitHub Desktop.
shadowsocks http proxy, creating a system wide proxy on server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
shadowsocks: | |
image: shadowsocks/shadowsocks-libev | |
entrypoint: ss-local -s $SERVER_ADDR -p $SERVER_PORT -k $PASSWORD -m $METHOD -l 1080 -b 0.0.0.0 | |
polipo: | |
image: lsiocommunity/polipo | |
depends_on: | |
- shadowsocks | |
ports: | |
- 8123:8123 | |
entrypoint: polipo socksParentProxy=shadowsocks:1080 proxyAddress=0.0.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SERVER_ADDR=xxx \ | |
SERVER_PORT=xxx \ | |
PASSWORD=xxx \ | |
METHOD=xxx \ | |
docker-compose up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment