refactor: rustdesk 只运行一个容器

This commit is contained in:
wanghe-fit2cloud 2023-08-03 14:54:46 +08:00
parent a9a8adcfd6
commit bcf99e2e64
2 changed files with 0 additions and 90 deletions

View File

@ -1,50 +0,0 @@
additionalProperties:
formFields:
- default: 21115
edit: true
envKey: NAT_TEST_PORT
labelEn: NAT type test port
labelZh: NAT类型测试端口
required: true
rule: paramPort
type: number
- default: 21116
edit: true
envKey: HBBS_PORT
labelEn: hbbs port (used with IP/domain)
labelZh: hbbs端口(配合IP/域名使用)
required: true
rule: paramPort
type: number
- default: 21117
edit: true
envKey: HBBR_PORT
labelEn: hbbr port (client relay server port)
labelZh: hbbr端口(客户端中继服务器端口)
required: true
rule: paramPort
type: number
- default: 21118
edit: true
envKey: WEB_CLIENT_PORT1
labelEn: Web Client Support Port 1
labelZh: 网页客户端支持端口1
required: true
rule: paramPort
type: number
- default: 21119
edit: true
envKey: WEB_CLIENT_PORT2
labelEn: Web Client Support Port 2
labelZh: 网页客户端支持端口2
required: true
rule: paramPort
type: number
- default: 172.17.0.1
edit: true
envKey: HOST_ADDRESS
labelEn: IP address or domain name (must change item)
labelZh: IP地址或域名(必改项)
required: true
rule: paramCommon
type: text

View File

@ -1,40 +0,0 @@
version: '3'
services:
hbbs:
container_name: ${CONTAINER_NAME}_hbbs
restart: always
ports:
- "${NAT_TEST_PORT}:21115"
- "${HBBS_PORT}:21116"
- "${HBBS_PORT}:21116/udp"
- "${WEB_CLIENT_PORT1}:21118"
command: hbbs -r ${HOST_ADDRESS}:${HBBS_PORT} -k _
volumes:
- "./data/hbbs:/root" # 自定义挂载目录
networks:
- 1panel-network
depends_on:
- hbbr
image: rustdesk/rustdesk-server:latest
labels:
createdBy: "Apps"
hbbr:
container_name: ${CONTAINER_NAME}_hbbr
restart: always
ports:
- "${HBBR_PORT}:21117"
- "${WEB_CLIENT_PORT2}:21119"
command: hbbr -k _
volumes:
- "./data/hbbr:/root"
networks:
- 1panel-network
image: rustdesk/rustdesk-server:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true