mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 09:38:47 +08:00
feat:添加只需运行一个容器版本的rustdesk(s6) (#275)
This commit is contained in:
parent
2a28e85c32
commit
b62ccb6691
50
apps/rustdesk/s6-latest/data.yml
Normal file
50
apps/rustdesk/s6-latest/data.yml
Normal file
@ -0,0 +1,50 @@
|
||||
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
|
26
apps/rustdesk/s6-latest/docker-compose.yml
Normal file
26
apps/rustdesk/s6-latest/docker-compose.yml
Normal file
@ -0,0 +1,26 @@
|
||||
version: '3'
|
||||
services:
|
||||
rustdesk-server:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${NAT_TEST_PORT}:21115"
|
||||
- "${HBBS_PORT}:21116"
|
||||
- "${HBBS_PORT}:21116/udp"
|
||||
- "${HBBR_PORT}:21117"
|
||||
- "${WEB_CLIENT_PORT1}:21118"
|
||||
- "${WEB_CLIENT_PORT2}:21119"
|
||||
volumes:
|
||||
- "./data/hbbs:/data"
|
||||
environment:
|
||||
- "RELAY=${HOST_ADDRESS}:${HBBR_PORT}"
|
||||
- "ENCRYPTED_ONLY=1"
|
||||
image: rustdesk/rustdesk-server-s6:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user