1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
This commit is contained in:
kev 2015-06-20 02:44:31 +08:00
parent 127de8b03d
commit c2fbd366d5
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ EXPOSE $SERVER_PORT
CMD ssserver -s $SERVER_ADDR \ CMD ssserver -s $SERVER_ADDR \
-p $SERVER_PORT \ -p $SERVER_PORT \
-k ${PASSWORD:-$(head -c 6 /dev/urandom | base64)} \ -k ${PASSWORD:-$(hostname)} \
-m $METHOD \ -m $METHOD \
-t $TIMEOUT \ -t $TIMEOUT \
--fast-open \ --fast-open \

View File

@ -31,7 +31,7 @@ EXPOSE $SERVER_PORT
CMD ss-server -s $SERVER_ADDR \ CMD ss-server -s $SERVER_ADDR \
-p $SERVER_PORT \ -p $SERVER_PORT \
-k ${PASSWORD:-$(head -c 6 /dev/urandom | base64)} \ -k ${PASSWORD:-$(hostname)} \
-m $METHOD \ -m $METHOD \
-t $TIMEOUT \ -t $TIMEOUT \
--fast-open \ --fast-open \