update frp

This commit is contained in:
Newnius 2018-08-30 16:34:03 +08:00
parent 904332d397
commit 935db14597
2 changed files with 1 additions and 3 deletions

View File

@ -13,7 +13,7 @@ ENV VERSION 0.21.0
RUN wget -O frp.tar.gz https://github.com/fatedier/frp/releases/download/v${VERSION}/frp_${VERSION}_linux_amd64.tar.gz && \
tar -xzf frp.tar.gz -C / && rm frp.tar.gz
RUN ln -s /frp_$VERSION_linux_amd64 /frp
RUN ln -s /frp_${VERSION}_linux_amd64 /frp
WORKDIR /frp

View File

@ -9,7 +9,6 @@ docker service create \
--network swarm-net \
--replicas 1 \
--detach=true \
--endpoint-mode dnsrr \
--publish 7500:7500 \
--publish 7000:7000 \
--mount type=bind,source=/etc/localtime,target=/etc/localtime \
@ -26,7 +25,6 @@ docker service create \
--network swarm-net \
--replicas 1 \
--detach=true \
--endpoint-mode dnsrr \
--mount type=bind,source=/etc/localtime,target=/etc/localtime \
--mount type=bind,source=/data/frp/frpc.ini,target=/frp/frpc.ini \
newnius/frp:v0.21.0