Skip to content

Commit

Permalink
revert to 32bit version and disable fast-open by default
Browse files Browse the repository at this point in the history
  • Loading branch information
alibo committed Oct 5, 2018
1 parent b539772 commit e67a87b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions client-plugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG GOQUIET_VER=1.2.1

ENV GQ_SERVER_NAME=www.bing.com
ENV GQ_KEY=exampleconftest
ENV GQ_FAST_OPEN=true
ENV GQ_FAST_OPEN=false
ENV GQ_BROWSER=chrome
ENV GQ_TICKET_TIME_HINT=3600

Expand All @@ -15,7 +15,7 @@ ENV SS_LOCAL_PORT=1080

RUN \
apk add --no-cache wget \
&& wget -O /usr/local/bin/gq-client https://github.com/cbeuw/GoQuiet/releases/download/v$GOQUIET_VER/gq-client-linux-arm64-$GOQUIET_VER \
&& wget -O /usr/local/bin/gq-client https://github.com/cbeuw/GoQuiet/releases/download/v$GOQUIET_VER/gq-client-linux-386-$GOQUIET_VER \
&& chmod +x /usr/local/bin/gq-client

RUN \
Expand All @@ -31,4 +31,4 @@ RUN \

EXPOSE $SS_LOCAL_PORT

ENTRYPOINT ss-local -s $SS_SERVER_ADDRESS -p $SS_SERVER_PORT -b $SS_LOCAL_ADDRESS -l $SS_LOCAL_PORT -k $SS_PASSWORD -m $SS_METHOD -t $SS_TIMEOUT -u --fast-open --plugin /usr/local/bin/gq-client --plugin-opts "/etc/goquiet/gqclient.json"
ENTRYPOINT ss-local -s $SS_SERVER_ADDRESS -p $SS_SERVER_PORT -b $SS_LOCAL_ADDRESS -l $SS_LOCAL_PORT -k $SS_PASSWORD -m $SS_METHOD -t $SS_TIMEOUT -u --plugin /usr/local/bin/gq-client --plugin-opts "/etc/goquiet/gqclient.json"
4 changes: 2 additions & 2 deletions client-standalone/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG GOQUIET_VER=1.2.1

ENV GQ_SERVER_NAME=www.bing.com
ENV GQ_KEY=exampleconftest
ENV GQ_FAST_OPEN=true
ENV GQ_FAST_OPEN=false
ENV GQ_BROWSER=chrome
ENV GQ_TICKET_TIME_HINT=3600
ENV GQ_LOCAL_PORT=1984
Expand All @@ -13,7 +13,7 @@ ENV GQ_SERVER_PORT=443

RUN \
apk add --no-cache wget \
&& wget -O /usr/local/bin/gq-client https://github.com/cbeuw/GoQuiet/releases/download/v$GOQUIET_VER/gq-client-linux-arm64-$GOQUIET_VER \
&& wget -O /usr/local/bin/gq-client https://github.com/cbeuw/GoQuiet/releases/download/v$GOQUIET_VER/gq-client-linux-386-$GOQUIET_VER \
&& chmod +x /usr/local/bin/gq-client

RUN \
Expand Down
6 changes: 3 additions & 3 deletions server-plugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ ARG GOQUIET_VER=1.2.1

ENV GQ_WEBSERVER_ADDRESS=1.1.1.1:443
ENV GQ_KEY=exampleconftest
ENV GQ_FAST_OPEN=true
ENV GQ_FAST_OPEN=false

RUN \
apk add --no-cache wget \
&& wget -O /usr/local/bin/gq-server https://github.com/cbeuw/GoQuiet/releases/download/v$GOQUIET_VER/gq-server-linux-amd64-$GOQUIET_VER \
&& wget -O /usr/local/bin/gq-server https://github.com/cbeuw/GoQuiet/releases/download/v$GOQUIET_VER/gq-server-linux-386-$GOQUIET_VER \
&& chmod +x /usr/local/bin/gq-server

RUN \
Expand All @@ -20,5 +20,5 @@ RUN \
}"\
> /etc/goquiet/gqserver.json

ENTRYPOINT ss-server -p $SS_PORT -k $SS_PASSWORD -m $SS_METHOD -t $SS_TIMEOUT -d 1.1.1.1 -d 8.8.8.8 -u --fast-open --plugin /usr/local/bin/gq-server --plugin-opts "/etc/goquiet/gqserver.json"
ENTRYPOINT ss-server -p $SS_PORT -k $SS_PASSWORD -m $SS_METHOD -t $SS_TIMEOUT -d 1.1.1.1 -d 8.8.8.8 -u --plugin /usr/local/bin/gq-server --plugin-opts "/etc/goquiet/gqserver.json"

6 changes: 3 additions & 3 deletions server-standalone/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG GOQUIET_VER=1.2.1

ENV GQ_WEBSERVER_ADDRESS=1.1.1.1:443
ENV GQ_KEY=exampleconftest
ENV GQ_FAST_OPEN=true
ENV GQ_FAST_OPEN=false

ENV GQ_SS_HOST=127.0.0.1
ENV GQ_SS_PORT=8388
Expand All @@ -13,7 +13,7 @@ ENV GQ_PORT=443

RUN \
apk add --no-cache wget \
&& wget -O /usr/local/bin/gq-server https://github.com/cbeuw/GoQuiet/releases/download/v$GOQUIET_VER/gq-server-linux-amd64-$GOQUIET_VER \
&& wget -O /usr/local/bin/gq-server https://github.com/cbeuw/GoQuiet/releases/download/v$GOQUIET_VER/gq-server-linux-386-$GOQUIET_VER \
&& chmod +x /usr/local/bin/gq-server

RUN \
Expand All @@ -27,4 +27,4 @@ RUN \

EXPOSE $GQ_PORT/tcp $GQ_PORT/udp

ENTRYPOINT gq-server -s $GQ_HOST -p $GQ_PORT -r "$GQ_SS_HOST:$GQ_SS_PORT" -c /etc/goquiet/gqserver.json
ENTRYPOINT /usr/local/bin/gq-server -s $GQ_HOST -p $GQ_PORT -r "$GQ_SS_HOST:$GQ_SS_PORT" -c /etc/goquiet/gqserver.json

0 comments on commit e67a87b

Please sign in to comment.