feat: 修改 rustdesk sftpgo 的端口字段 (#313)

This commit is contained in:
zhengkunwang 2023-08-09 14:48:08 +08:00 committed by GitHub
parent a60728f89e
commit c1f6220486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 21 deletions

View File

@ -2,7 +2,7 @@ additionalProperties:
formFields: formFields:
- default: 21115 - default: 21115
edit: true edit: true
envKey: NAT_TEST_PORT envKey: PANEL_APP_PORT_HTTP_NAT
labelEn: NAT type test port labelEn: NAT type test port
labelZh: NAT类型测试端口 labelZh: NAT类型测试端口
required: true required: true
@ -10,7 +10,7 @@ additionalProperties:
type: number type: number
- default: 21116 - default: 21116
edit: true edit: true
envKey: HBBS_PORT envKey: PANEL_APP_PORT_HBBS
labelEn: hbbs port (used with IP/domain) labelEn: hbbs port (used with IP/domain)
labelZh: hbbs端口(配合IP/域名使用) labelZh: hbbs端口(配合IP/域名使用)
required: true required: true
@ -18,7 +18,7 @@ additionalProperties:
type: number type: number
- default: 21117 - default: 21117
edit: true edit: true
envKey: HBBR_PORT envKey: PANEL_APP_PORT_HBBR
labelEn: hbbr port (client relay server port) labelEn: hbbr port (client relay server port)
labelZh: hbbr端口(客户端中继服务器端口) labelZh: hbbr端口(客户端中继服务器端口)
required: true required: true
@ -26,7 +26,7 @@ additionalProperties:
type: number type: number
- default: 21118 - default: 21118
edit: true edit: true
envKey: WEB_CLIENT_PORT1 envKey: PANEL_APP_PORT_WEB_CLIENT_1
labelEn: Web Client Support Port 1 labelEn: Web Client Support Port 1
labelZh: 网页客户端支持端口1 labelZh: 网页客户端支持端口1
required: true required: true
@ -34,7 +34,7 @@ additionalProperties:
type: number type: number
- default: 21119 - default: 21119
edit: true edit: true
envKey: WEB_CLIENT_PORT2 envKey: PANEL_APP_PORT_WEB_CLIENT_2
labelEn: Web Client Support Port 2 labelEn: Web Client Support Port 2
labelZh: 网页客户端支持端口2 labelZh: 网页客户端支持端口2
required: true required: true

View File

@ -6,16 +6,16 @@ services:
networks: networks:
- 1panel-network - 1panel-network
ports: ports:
- "${NAT_TEST_PORT}:21115" - "${PANEL_APP_PORT_NAT}:21115"
- "${HBBS_PORT}:21116" - "${PANEL_APP_PORT_HBBS}:21116"
- "${HBBS_PORT}:21116/udp" - "${PANEL_APP_PORT_HBBS}:21116/udp"
- "${HBBR_PORT}:21117" - "${PANEL_APP_PORT_HBBR}:21117"
- "${WEB_CLIENT_PORT1}:21118" - "${PANEL_APP_PORT_WEB_CLIENT_1}:21118"
- "${WEB_CLIENT_PORT2}:21119" - "${PANEL_APP_PORT_WEB_CLIENT_2}:21119"
volumes: volumes:
- "./data/hbbs:/data" - "./data/hbbs:/data"
environment: environment:
- "RELAY=${HOST_ADDRESS}:${HBBR_PORT}" - "RELAY=${HOST_ADDRESS}:${PANEL_APP_PORT_HBBR}"
- "ENCRYPTED_ONLY=1" - "ENCRYPTED_ONLY=1"
image: rustdesk/rustdesk-server-s6:latest image: rustdesk/rustdesk-server-s6:latest
labels: labels:

View File

@ -10,7 +10,7 @@ additionalProperties:
type: number type: number
- default: 2022 - default: 2022
edit: true edit: true
envKey: SFTP_PORT envKey: PANEL_APP_PORT_SFTP
labelEn: SFTP Port labelEn: SFTP Port
labelZh: SFTP 端口 labelZh: SFTP 端口
required: true required: true
@ -18,7 +18,7 @@ additionalProperties:
type: number type: number
- default: 2121 - default: 2121
edit: true edit: true
envKey: FTP_PORT envKey: PANEL_APP_PORT_FTP
labelEn: FTP Port labelEn: FTP Port
labelZh: FTP 端口 labelZh: FTP 端口
required: true required: true
@ -50,7 +50,7 @@ additionalProperties:
type: text type: text
- default: 10080 - default: 10080
edit: true edit: true
envKey: WEBDAV_PORT envKey: PANEL_APP_PORT_WEBDAV
labelEn: WebDAV Port labelEn: WebDAV Port
labelZh: WebDAV 端口 labelZh: WebDAV 端口
required: true required: true

View File

@ -7,14 +7,14 @@ services:
- 1panel-network - 1panel-network
ports: ports:
- ${PANEL_APP_PORT_HTTP}:8080 - ${PANEL_APP_PORT_HTTP}:8080
- ${SFTP_PORT}:${SFTP_PORT} - ${PANEL_APP_PORT_SFTP}:${PANEL_APP_PORT_SFTP}
- ${FTP_PORT}:${FTP_PORT} - ${PANEL_APP_PORT_FTP}:${PANEL_APP_PORT_FTP}
- ${PASSIVE_PORT_RANGE_START}-${PASSIVE_PORT_RANGE_END}:${PASSIVE_PORT_RANGE_START}-${PASSIVE_PORT_RANGE_END} - ${PASSIVE_PORT_RANGE_START}-${PASSIVE_PORT_RANGE_END}:${PASSIVE_PORT_RANGE_START}-${PASSIVE_PORT_RANGE_END}
- ${WEBDAV_PORT}:${WEBDAV_PORT} - ${PANEL_APP_PORT_WEBDAV}:${PANEL_APP_PORT_WEBDAV}
environment: environment:
SFTPGO_FTPD__BINDINGS__0__PORT: ${FTP_PORT} SFTPGO_FTPD__BINDINGS__0__PORT: ${PANEL_APP_PORT_FTP}
SFTPGO_WEBDAVD__BINDINGS__0__PORT: ${WEBDAV_PORT} SFTPGO_WEBDAVD__BINDINGS__0__PORT: ${PANEL_APP_PORT_WEBDAV}
SFTPGO_SFTPD__BINDINGS__0__PORT: ${SFTP_PORT} SFTPGO_SFTPD__BINDINGS__0__PORT: ${PANEL_APP_PORT_SFTP}
SFTPGO_FTPD__BINDINGS__0__FORCE_PASSIVE_IP: ${FTP_EXTERNAL_IP} SFTPGO_FTPD__BINDINGS__0__FORCE_PASSIVE_IP: ${FTP_EXTERNAL_IP}
SFTPGO_FTPD__PASSIVE_PORT_RANGE__START: ${PASSIVE_PORT_RANGE_START} SFTPGO_FTPD__PASSIVE_PORT_RANGE__START: ${PASSIVE_PORT_RANGE_START}
SFTPGO_FTPD__PASSIVE_PORT_RANGE__END: ${PASSIVE_PORT_RANGE_END} SFTPGO_FTPD__PASSIVE_PORT_RANGE__END: ${PASSIVE_PORT_RANGE_END}