appstore-1panel/apps/rustdesk/latest/docker-compose.yml

51 lines
1.4 KiB
YAML

version: '3'
services:
hbbs:
container_name: ${CONTAINER_NAME}_hbbs
restart: always
ports:
- "${NAT_TEST_PORT}:21115" #NAT类型测试
- "${HBBS_PORT}:21116" # 自定义 hbbs 映射端口
- "${HBBS_PORT}:21116/udp" #自定义 hbbs 映射端口
- "${WEB_CLIENT_PORT1}:21118" #网页客户端支持端口
command: hbbs -r ${HOST_ADDRESS}:${HBBS_PORT} -k _ # 填入个人域名或 IP + 暴露端口
volumes:
- "./data/hbbs:/root" # 自定义挂载目录
networks:
- 1panel-network
depends_on:
- hbbr
# deploy:
# resources:
# limits:
# memory: 64M
image: rustdesk/rustdesk-server:latest
# image: rustdesk/rustdesk-server:latest-arm64v8 # 镜像选用 arm64 版
labels:
createdBy: "Apps"
hbbr:
container_name: ${CONTAINER_NAME}_hbbr
restart: always
ports:
- "${HBBR_PORT}:21117" # 自定义 hbbr 映射端口
- "${WEB_CLIENT_PORT2}:21119" #网页客户端支持端口
command: hbbr -k _
volumes:
- "./data/hbbr:/root" # 自定义挂载目录
networks:
- 1panel-network
# deploy:
# resources:
# limits:
# memory: 64M
image: rustdesk/rustdesk-server:latest
# image: rustdesk/rustdesk-server:latest-arm64v8 # 镜像选用 arm64 版
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true