Update docker related files.

+ expose UDP port
* bump up server version to 2.4.5.
This commit is contained in:
Wenxuan Zhao
2016-03-21 11:23:15 -03:00
parent ce0561a999
commit 71afe284cb
3 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -5,7 +5,7 @@
FROM alpine
MAINTAINER kev <noreply@datageek.info>
ENV SS_VER 2.4.4
ENV SS_VER 2.4.5
ENV SS_URL https://github.com/shadowsocks/shadowsocks-libev/archive/v$SS_VER.tar.gz
ENV SS_DIR shadowsocks-libev-$SS_VER
ENV SS_DEP autoconf build-base curl libtool linux-headers openssl-dev
@@ -29,6 +29,7 @@ ENV TIMEOUT 300
ENV DNS_ADDR 8.8.8.8
EXPOSE $SERVER_PORT
EXPOSE $SERVER_PORT/udp
CMD ss-server -s $SERVER_ADDR \
-p $SERVER_PORT \
+2 -1
View File
@@ -1,7 +1,8 @@
shadowsocks:
image: shadowsocks-libev
ports:
- "8388:8388"
- "8388:8388/tcp"
- "8388:8388/udp"
environment:
- METHOD=aes-256-cfb
- PASSWORD=9MLSpPmNt
+1
View File
@@ -24,6 +24,7 @@ RUN rm -rf $BASEDIR/shadowsocks-libev\
# Port in the config file won't take affect. Instead we'll use 8388.
EXPOSE $PORT
EXPOSE $SERVER_PORT/udp
# Override the host and port in the config file.
ADD entrypoint /