1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-30 09:16:41 +02:00

update frp

This commit is contained in:
kev 2021-10-21 17:36:07 +08:00
parent c0c7e7df2b
commit 0b3cdf847d
5 changed files with 28 additions and 30 deletions

View File

@ -5,7 +5,7 @@
FROM alpine:3
MAINTAINER EasyPi Software Foundation
ENV FRP_VERSION=0.36.2
ENV FRP_VERSION=0.37.1
ENV FRP_FILE=frp_${FRP_VERSION}_linux_amd64.tar.gz
ENV FRP_URL=https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/${FRP_FILE}

View File

@ -6,16 +6,14 @@ or firewall to the internet. Now, it supports tcp, udp, http and https protocol
when requests can be forwarded by domains to backward web services.
```yaml
frps:
image: vimagick/frp
ports:
- "7000:7000/tcp"
- "7000:7000/udp"
- "7500:7500/tcp"
- "127.0.0.1:20000-20099:20000-20099/tcp"
volumes:
- ./data/frps.ini:/opt/frp/frps.ini
restart: always
version: "3.8"
services:
frps:
image: vimagick/frp
volumes:
- ./data/frps.ini:/opt/frp/frps.ini
network_mode: host
restart: unless-stopped
```
Sample config file: [frps.ini][2]

View File

@ -2,10 +2,10 @@
# Dockerfile for frp-arm
#
FROM arm32v7/alpine:3
FROM alpine:3
MAINTAINER EasyPi Software Foundation
ENV FRP_VERSION=0.36.2
ENV FRP_VERSION=0.37.1
ENV FRP_FILE=frp_${FRP_VERSION}_linux_arm.tar.gz
ENV FRP_URL=https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/${FRP_FILE}

View File

@ -1,7 +1,9 @@
frpc:
image: easypi/frp-arm
command: ./frpc -c frpc.ini
volumes:
- ./data/frpc.ini:/opt/frp/frpc.ini
net: host
restart: unless-stopped
version: "3.8"
services:
frpc:
image: easypi/frp-arm
command: ./frpc -c frpc.ini
volumes:
- ./data/frpc.ini:/opt/frp/frpc.ini
network_mode: host
restart: unless-stopped

View File

@ -1,10 +1,8 @@
frps:
image: vimagick/frp
ports:
- "7000:7000/tcp"
- "7000:7000/udp"
- "7500:7500/tcp"
- "127.0.0.1:20000-20099:20000-20099/tcp"
volumes:
- ./data/frps.ini:/opt/frp/frps.ini
restart: always
version: "3.8"
services:
frps:
image: vimagick/frp
volumes:
- ./data/frps.ini:/opt/frp/frps.ini
network_mode: host
restart: unless-stopped