across/ss-readme
2017-12-14 05:07:45 +00:00

9 lines
534 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

可以接受五个参数
SSR_URL:用于自行指定ss的git链接但是最好不要修改。
SS_PORT:用于指定端口,相应的应该在运行是进行端口映射,默认为1234
SS_PASSWD:用于指定密码默认为your-password-here
SS_METH:用于指定加密方式默认为aes-256-cfb
SS_OBFS:用于指定混淆插件默认为http_simple
一条完整的启动命令如下:
docker run -d -p $PORT:$PORT --name ss-server -e SS_PORT=$PORT -e SS_PASSWD=$PASSWORD -e SS_METH=$METH -e SS_OBFS=$OBFS ddv12138/shadowsocks