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