mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
upgrade frpc to 0.29.0
This commit is contained in:
parent
a4ccd37861
commit
46eb7659a1
@ -5,7 +5,7 @@
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@easypi.pro>
|
||||
|
||||
ENV FRP_VERSION 0.21.0
|
||||
ENV FRP_VERSION 0.29.0
|
||||
ENV FRP_URL https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/frp_${FRP_VERSION}_linux_amd64.tar.gz
|
||||
|
||||
WORKDIR /opt/frp
|
||||
|
@ -2,10 +2,10 @@
|
||||
# Dockerfile for frp-arm
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
FROM arm32v7/alpine:3
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
ENV FRP_VERSION 0.21.0
|
||||
ENV FRP_VERSION 0.29.0
|
||||
ENV FRP_URL https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/frp_${FRP_VERSION}_linux_arm.tar.gz
|
||||
|
||||
WORKDIR /opt/frp
|
||||
|
@ -1,6 +1,7 @@
|
||||
frps:
|
||||
frpc:
|
||||
image: easypi/frp-arm
|
||||
command: ./frpc -c frpc.ini
|
||||
volumes:
|
||||
- ./data/frps.ini:/opt/frp/frps.ini
|
||||
- ./data/frpc.ini:/opt/frp/frpc.ini
|
||||
net: host
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
|
@ -2,7 +2,8 @@
|
||||
server_addr = 1.2.3.4
|
||||
server_port = 7000
|
||||
protocol = kcp
|
||||
privilege_token = 12345678
|
||||
token = 12345678
|
||||
admin_port = 7400
|
||||
|
||||
[ssh]
|
||||
type = tcp
|
||||
|
Loading…
Reference in New Issue
Block a user