1
0

精简提交历史记录

This commit is contained in:
okxlin
2023-11-09 19:15:01 +08:00
commit 691aa7aac9
1529 changed files with 800341 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
CONTAINER_NAME="port-forward-agent"
PANEL_APP_PORT_CONSOLE="7000"

View File

@@ -0,0 +1,18 @@
FROM debian:bullseye-slim
RUN mkdir -p /app/pfg
WORKDIR /app/pfg
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y wget unzip tzdata
RUN wget -O pfg.zip https://gitee.com/tavenli/port-forward/releases/download/v1.3.7/forward-agent.linux64.v1.3.7.zip && \
unzip pfg.zip && \
chmod +x /app/pfg/forward-agent/forward-agent
ENV TZ=Asia/Shanghai
WORKDIR /app/pfg/forward-agent
CMD ["./forward-agent"]

View File

@@ -0,0 +1,10 @@
additionalProperties:
formFields:
- default: 7000
disabled: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number

View File

@@ -0,0 +1,3 @@
magic.server = "127.0.0.1:7000"

View File

@@ -0,0 +1,17 @@
version: "3"
services:
port-forward-server:
build:
context: .
dockerfile: Dockerfile
args:
IMAGE_TAG: 1.3.7
container_name: ${CONTAINER_NAME}
restart: always
network_mode: host
volumes:
- "./data:/app/pfg/forward-agent/conf"
cap_add:
- NET_ADMIN
labels:
createdBy: "Apps"