From eaf5a5d119a7f9df95ad8a1e912bbe798806faeb Mon Sep 17 00:00:00 2001 From: kev Date: Fri, 25 Mar 2016 19:52:16 +0800 Subject: [PATCH] expose udp port --- shadowsocks/libev-arm/docker-compose.yml | 2 +- shadowsocks/libev/Dockerfile | 3 ++- shadowsocks/libev/docker-compose.yml | 3 ++- wordpress/playbook.yml | 5 ++++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/shadowsocks/libev-arm/docker-compose.yml b/shadowsocks/libev-arm/docker-compose.yml index 60fa2e0..8c664d9 100644 --- a/shadowsocks/libev-arm/docker-compose.yml +++ b/shadowsocks/libev-arm/docker-compose.yml @@ -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 diff --git a/shadowsocks/libev/Dockerfile b/shadowsocks/libev/Dockerfile index 46f9ae1..609df11 100644 --- a/shadowsocks/libev/Dockerfile +++ b/shadowsocks/libev/Dockerfile @@ -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 \ diff --git a/shadowsocks/libev/docker-compose.yml b/shadowsocks/libev/docker-compose.yml index 9e77113..6dbe487 100644 --- a/shadowsocks/libev/docker-compose.yml +++ b/shadowsocks/libev/docker-compose.yml @@ -1,7 +1,8 @@ shadowsocks: image: vimagick/shadowsocks-libev ports: - - "8388:8388" + - "8388:8388/tcp" + - "8388:8388/udp" environment: - METHOD=chacha20 - PASSWORD=9MLSpPmNt diff --git a/wordpress/playbook.yml b/wordpress/playbook.yml index cf35adb..69bd881 100644 --- a/wordpress/playbook.yml +++ b/wordpress/playbook.yml @@ -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