1
0
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:
kev 2019-10-21 08:55:22 +08:00
parent a4ccd37861
commit 46eb7659a1
4 changed files with 9 additions and 7 deletions

View File

@ -5,7 +5,7 @@
FROM alpine FROM alpine
MAINTAINER kev <noreply@easypi.pro> 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 ENV FRP_URL https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/frp_${FRP_VERSION}_linux_amd64.tar.gz
WORKDIR /opt/frp WORKDIR /opt/frp

View File

@ -2,10 +2,10 @@
# Dockerfile for frp-arm # Dockerfile for frp-arm
# #
FROM alpine FROM arm32v7/alpine:3
MAINTAINER EasyPi Software Foundation 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 ENV FRP_URL https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/frp_${FRP_VERSION}_linux_arm.tar.gz
WORKDIR /opt/frp WORKDIR /opt/frp

View File

@ -1,6 +1,7 @@
frps: frpc:
image: easypi/frp-arm image: easypi/frp-arm
command: ./frpc -c frpc.ini
volumes: volumes:
- ./data/frps.ini:/opt/frp/frps.ini - ./data/frpc.ini:/opt/frp/frpc.ini
net: host net: host
restart: always restart: unless-stopped

View File

@ -2,7 +2,8 @@
server_addr = 1.2.3.4 server_addr = 1.2.3.4
server_port = 7000 server_port = 7000
protocol = kcp protocol = kcp
privilege_token = 12345678 token = 12345678
admin_port = 7400
[ssh] [ssh]
type = tcp type = tcp