update frp

This commit is contained in:
kev 2022-12-19 17:10:08 +08:00
parent c6452a47ae
commit 6029db3d9f
3 changed files with 5 additions and 5 deletions

View File

@ -14,9 +14,9 @@ WORKDIR /opt/frp
RUN set -xe \
&& apk add --no-cache curl tar \
&& curl -sSL $FRP_URL | tar xz --strip 1 \
&& apk del curl tar
&& mkdir -p bin etc \
&& curl -sSL ${FRP_URL} | tar xz --strip 1 -C bin
EXPOSE 7000/tcp 7000/udp 7500/tcp
CMD ["./frps", "-c", "frps.ini"]
CMD ["./bin/frps", "-c", "./etc/frps.ini"]

View File

@ -11,7 +11,7 @@ services:
frps:
image: vimagick/frp
volumes:
- ./data/frps.ini:/opt/frp/frps.ini
- ./data:/opt/frp/etc
healthcheck:
test: ["CMD", "curl", "-f", "-u", "admin:admin", "http://127.0.0.1:7500/healthz"]
interval: 1m

View File

@ -3,7 +3,7 @@ services:
frps:
image: vimagick/frp
volumes:
- ./data/frps.ini:/opt/frp/frps.ini
- ./data:/opt/frp/etc
healthcheck:
test: ["CMD", "curl", "-f", "-u", "admin:admin", "http://127.0.0.1:7500/healthz"]
interval: 1m