mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-12 04:23:04 +02:00
add shadowsocks-libev
This commit is contained in:
parent
989a9aab3d
commit
6b0167aebd
@ -18,6 +18,8 @@ ENV METHOD aes-256-cfb
|
|||||||
ENV TIMEOUT 300
|
ENV TIMEOUT 300
|
||||||
ENV WORKERS 10
|
ENV WORKERS 10
|
||||||
|
|
||||||
|
EXPOSE 8388
|
||||||
|
|
||||||
CMD ssserver -s $SERVER_ADDR \
|
CMD ssserver -s $SERVER_ADDR \
|
||||||
-p $SERVER_PORT \
|
-p $SERVER_PORT \
|
||||||
-k $PASSWORD \
|
-k $PASSWORD \
|
||||||
|
32
shadowsocks/libev/Dockerfile
Normal file
32
shadowsocks/libev/Dockerfile
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for shadowsocks-libev
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM debian:jessie
|
||||||
|
MAINTAINER kev <noreply@datageek.info>
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y curl \
|
||||||
|
&& curl http://shadowsocks.org/debian/1D27208A.gpg | apt-key add - \
|
||||||
|
&& echo 'deb http://shadowsocks.org/debian wheezy main' > /etc/apt/sources.list.d/ss-libev.list \
|
||||||
|
&& apt-get update \
|
||||||
|
&& apt-get install -y shadowsocks-libev \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
ENV SERVER_ADDR 0.0.0.0
|
||||||
|
ENV SERVER_PORT 8388
|
||||||
|
ENV PASSWORD secret
|
||||||
|
ENV METHOD aes-256-cfb
|
||||||
|
ENV TIMEOUT 300
|
||||||
|
ENV DNS_ADDR 8.8.8.8
|
||||||
|
|
||||||
|
EXPOSE 8388
|
||||||
|
|
||||||
|
CMD ss-server -s $SERVER_ADDR \
|
||||||
|
-p $SERVER_PORT \
|
||||||
|
-k $PASSWORD \
|
||||||
|
-m $METHOD \
|
||||||
|
-t $TIMEOUT \
|
||||||
|
--fast-open \
|
||||||
|
-d $DNS_ADDR \
|
||||||
|
-u
|
6
shadowsocks/libev/README.md
Normal file
6
shadowsocks/libev/README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
shadowsocks-libev
|
||||||
|
=================
|
||||||
|
|
||||||
|
`shadowsocks-libev` is a lightweight secured socks5 proxy for embedded devices and low end boxes.
|
||||||
|
|
||||||
|
It is a port of shadowsocks created by @clowwindy maintained by @madeye and @linusyang.
|
Loading…
Reference in New Issue
Block a user