mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-30 09:16:41 +02:00
update frp
This commit is contained in:
parent
c0c7e7df2b
commit
0b3cdf847d
@ -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}
|
||||
|
||||
|
@ -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]
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user