2023-08-03 11:02:49 +08:00
|
|
|
services:
|
|
|
|
rustdesk-server:
|
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
2023-08-09 14:48:08 +08:00
|
|
|
- "${PANEL_APP_PORT_NAT}:21115"
|
|
|
|
- "${PANEL_APP_PORT_HBBS}:21116"
|
|
|
|
- "${PANEL_APP_PORT_HBBS}:21116/udp"
|
|
|
|
- "${PANEL_APP_PORT_HBBR}:21117"
|
|
|
|
- "${PANEL_APP_PORT_WEB_CLIENT_1}:21118"
|
|
|
|
- "${PANEL_APP_PORT_WEB_CLIENT_2}:21119"
|
2023-08-03 11:02:49 +08:00
|
|
|
volumes:
|
|
|
|
- "./data/hbbs:/data"
|
|
|
|
environment:
|
2023-08-09 14:48:08 +08:00
|
|
|
- "RELAY=${HOST_ADDRESS}:${PANEL_APP_PORT_HBBR}"
|
2023-08-03 11:02:49 +08:00
|
|
|
- "ENCRYPTED_ONLY=1"
|
|
|
|
image: rustdesk/rustdesk-server-s6:latest
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|