1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

expose udp port

This commit is contained in:
kev 2016-03-25 19:52:16 +08:00
parent 16b30fa3ac
commit eaf5a5d119
4 changed files with 9 additions and 4 deletions

View File

@ -3,7 +3,7 @@ shadowsocks:
ports:
- "1080:1080"
environment:
- SERVER_ADDR=datageek.info
- SERVER_ADDR=1.2.3.4
- METHOD=chacha20
- PASSWORD=9MLSpPmNt
restart: always

View File

@ -28,7 +28,8 @@ ENV METHOD aes-256-cfb
ENV TIMEOUT 300
ENV DNS_ADDR 8.8.8.8
EXPOSE $SERVER_PORT
EXPOSE $SERVER_PORT/tcp
EXPOSE $SERVER_PORT/udp
CMD ss-server -s $SERVER_ADDR \
-p $SERVER_PORT \

View File

@ -1,7 +1,8 @@
shadowsocks:
image: vimagick/shadowsocks-libev
ports:
- "8388:8388"
- "8388:8388/tcp"
- "8388:8388/udp"
environment:
- METHOD=chacha20
- PASSWORD=9MLSpPmNt

View File

@ -45,7 +45,10 @@
- name: unarchive wordpress
unarchive:
src: https://wordpress.org/latest.zip
# ENGLISH
#src: https://wordpress.org/latest.zip
# CHINESE
src: https://cn.wordpress.org/wordpress-4.4.2-zh_CN.zip
dest: /var/www
copy: no