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:
parent
16b30fa3ac
commit
eaf5a5d119
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -1,7 +1,8 @@
|
||||
shadowsocks:
|
||||
image: vimagick/shadowsocks-libev
|
||||
ports:
|
||||
- "8388:8388"
|
||||
- "8388:8388/tcp"
|
||||
- "8388:8388/udp"
|
||||
environment:
|
||||
- METHOD=chacha20
|
||||
- PASSWORD=9MLSpPmNt
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user