mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-07 16:41:55 +00:00
update frp
This commit is contained in:
parent
904332d397
commit
935db14597
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user