feat:frps添加证书文件夹映射
This commit is contained in:
parent
459d41ccb0
commit
19be796c52
|
|
@ -1 +1,2 @@
|
|||
CONTAINER_NAME="frps"
|
||||
CONTAINER_NAME="frps"
|
||||
SSL_FOLDER_PATH="./data/ssl"
|
||||
|
|
@ -1,16 +1,23 @@
|
|||
additionalProperties:
|
||||
formFields:
|
||||
- default: ./data/frps.toml
|
||||
edit: true
|
||||
envKey: CONFIG_FILE_PATH
|
||||
labelEn: Configuration file path
|
||||
labelZh: 配置文件路径
|
||||
required: true
|
||||
type: text
|
||||
- default: 7000
|
||||
disabled: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port (determined by the configuration file)
|
||||
labelZh: 端口 (由配置文件决定)
|
||||
required: true
|
||||
type: number
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: ./data/frps.toml
|
||||
edit: true
|
||||
envKey: CONFIG_FILE_PATH
|
||||
labelEn: Configuration file path
|
||||
labelZh: 配置文件路径
|
||||
required: true
|
||||
type: text
|
||||
- default: 7000
|
||||
disabled: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port (determined by the configuration file)
|
||||
labelZh: 端口 (由配置文件决定)
|
||||
required: true
|
||||
type: number
|
||||
- default: ./data/ssl
|
||||
edit: true
|
||||
envKey: SSL_FOLDER_PATH
|
||||
labelEn: Certificate folder path (corresponding to "/etc/frp/ssl" in container)
|
||||
labelZh: 证书文件夹路径 (对应容器内 "/etc/frp/ssl")
|
||||
required: true
|
||||
type: text
|
||||
|
|
@ -20,9 +20,9 @@ kcpBindPort = 7000
|
|||
|
||||
# tls
|
||||
tls.force = false
|
||||
#transport.tls.certFile = "/etc/frp/server.crt"
|
||||
#transport.tls.keyFile = "/etc/frp/server.key"
|
||||
#transport.tls.trustedCaFile = "/etc/frp/ca.crt"
|
||||
#transport.tls.certFile = "/etc/frp/ssl/server.crt"
|
||||
#transport.tls.keyFile = "/etc/frp/ssl/server.key"
|
||||
#transport.tls.trustedCaFile = "/etc/frp/ssl/ca.crt"
|
||||
|
||||
# dashboard
|
||||
webServer.addr = "0.0.0.0"
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ services:
|
|||
volumes:
|
||||
#- "${CONFIG_FILE_PATH}:/etc/frp/frps.ini" #截止5.1.3版本使用ini
|
||||
- "${CONFIG_FILE_PATH}:/etc/frp/frps.toml"
|
||||
- "${SSL_FOLDER_PATH}:/etc/frp/ssl"
|
||||
image: "snowdreamtech/frps:0.53.2"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
CONTAINER_NAME="frps"
|
||||
CONTAINER_NAME="frps"
|
||||
SSL_FOLDER_PATH="./data/ssl"
|
||||
|
|
@ -1,16 +1,23 @@
|
|||
additionalProperties:
|
||||
formFields:
|
||||
- default: ./data/frps.toml
|
||||
edit: true
|
||||
envKey: CONFIG_FILE_PATH
|
||||
labelEn: Configuration file path
|
||||
labelZh: 配置文件路径
|
||||
required: true
|
||||
type: text
|
||||
- default: 7000
|
||||
disabled: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port (determined by the configuration file)
|
||||
labelZh: 端口 (由配置文件决定)
|
||||
required: true
|
||||
type: number
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: ./data/frps.toml
|
||||
edit: true
|
||||
envKey: CONFIG_FILE_PATH
|
||||
labelEn: Configuration file path
|
||||
labelZh: 配置文件路径
|
||||
required: true
|
||||
type: text
|
||||
- default: 7000
|
||||
disabled: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port (determined by the configuration file)
|
||||
labelZh: 端口 (由配置文件决定)
|
||||
required: true
|
||||
type: number
|
||||
- default: ./data/ssl
|
||||
edit: true
|
||||
envKey: SSL_FOLDER_PATH
|
||||
labelEn: Certificate folder path (corresponding to "/etc/frp/ssl" in container)
|
||||
labelZh: 证书文件夹路径 (对应容器内 "/etc/frp/ssl")
|
||||
required: true
|
||||
type: text
|
||||
|
|
@ -20,9 +20,9 @@ kcpBindPort = 7000
|
|||
|
||||
# tls
|
||||
tls.force = false
|
||||
#transport.tls.certFile = "/etc/frp/server.crt"
|
||||
#transport.tls.keyFile = "/etc/frp/server.key"
|
||||
#transport.tls.trustedCaFile = "/etc/frp/ca.crt"
|
||||
#transport.tls.certFile = "/etc/frp/ssl/server.crt"
|
||||
#transport.tls.keyFile = "/etc/frp/ssl/server.key"
|
||||
#transport.tls.trustedCaFile = "/etc/frp/ssl/ca.crt"
|
||||
|
||||
# dashboard
|
||||
webServer.addr = "0.0.0.0"
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ services:
|
|||
volumes:
|
||||
#- "${CONFIG_FILE_PATH}:/etc/frp/frps.ini" #截止5.1.3版本使用ini
|
||||
- "${CONFIG_FILE_PATH}:/etc/frp/frps.toml"
|
||||
- "${SSL_FOLDER_PATH}:/etc/frp/ssl"
|
||||
image: "snowdreamtech/frps:latest"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
|
|
|||
Loading…
Reference in New Issue