2022-04-20 21:36:57 +02:00
|
|
|
---
|
2022-05-06 12:23:31 +02:00
|
|
|
title: Synology
|
2022-04-20 21:36:57 +02:00
|
|
|
weight: 22
|
|
|
|
---
|
|
|
|
|
|
|
|
This tutorial is based on latest DSM v6.
|
|
|
|
|
|
|
|
### Install Docker
|
|
|
|
|
|
|
|
Open package manager and install docker
|
|
|
|
|
|
|
|
| | |
|
|
|
|
| --------------- | -------------------------------------------------------- |
|
2023-01-16 19:48:27 +01:00
|
|
|
 | 
|
2022-04-20 21:36:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
### Install RustDesk Server
|
|
|
|
|
2023-03-01 13:29:40 +01:00
|
|
|
| Search rustdesk-server in Docker's registry and install by double click | Installed rustdesk-server image, double click to create rustdesk-server container |
|
2022-04-20 21:36:57 +02:00
|
|
|
| --------------- | -------------------------------------------------------- |
|
2023-01-16 19:48:27 +01:00
|
|
|
 | 
|
2022-04-20 21:36:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
### Create hbbs container
|
|
|
|
|
|
|
|
As mentioned above, double click on rustdesk-server image to create new container, set it name to `hbbs`.
|
2023-01-16 19:48:27 +01:00
|
|
|

|
2022-04-20 21:36:57 +02:00
|
|
|
|
|
|
|
Click on above "Advanced Settings".
|
|
|
|
|
|
|
|
- Enable auto-restart
|
2023-01-16 19:48:27 +01:00
|
|
|

|
2022-04-20 21:36:57 +02:00
|
|
|
|
2022-04-20 21:42:25 +02:00
|
|
|
- Enable "Use the same network as Docker host", for more about host net, please [check](/docs/en/self-host/install/#net-host)
|
2023-01-16 19:48:27 +01:00
|
|
|

|
2022-04-20 21:36:57 +02:00
|
|
|
|
2022-05-17 07:36:24 +02:00
|
|
|
- Mount a host directory (e.g. `Shared/test/`) to `/root`, hbbs will generate some files (including the `key` file) in this directory
|
2022-04-20 21:36:57 +02:00
|
|
|
| Mount | Files generated in the host directory |
|
|
|
|
|-- | -- |
|
2023-01-16 19:48:27 +01:00
|
|
|
 | 
|
2022-04-20 21:36:57 +02:00
|
|
|
|
|
|
|
- Set command
|
|
|
|
{{% notice note %}}
|
2023-01-16 19:48:27 +01:00
|
|
|
Synology's OS is Debian based, so host net (--net=host) works fine, we do not need to map ports with `-p` option.
|
2022-04-20 21:36:57 +02:00
|
|
|
|
|
|
|
`192.168.16.98` is an intranet ip used here for demonstration only, please set it to a public ip when you deploy.
|
|
|
|
|
|
|
|
{{% /notice %}}
|
|
|
|
|
2023-01-16 19:48:27 +01:00
|
|
|

|
2022-04-20 21:36:57 +02:00
|
|
|
|
|
|
|
- Done
|
|
|
|
|
2023-01-16 19:48:27 +01:00
|
|
|

|
2022-04-20 21:36:57 +02:00
|
|
|
|
|
|
|
### Create hbbr container
|
|
|
|
|
2022-05-22 15:41:05 +02:00
|
|
|
Please repeat above `hbbs` steps, but change container name to `hbbr` and command to `hbbr`.
|
2022-04-20 21:36:57 +02:00
|
|
|
|
2023-01-16 19:48:27 +01:00
|
|
|

|
2022-04-20 21:36:57 +02:00
|
|
|
|
|
|
|
### hbbr/hbbs containers
|
|
|
|
|
2023-01-16 19:48:27 +01:00
|
|
|

|
2022-04-20 21:36:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
| Double click on container and check log | Double confirm hbbs/hbbr using host network |
|
|
|
|
|-- | -- |
|
2023-01-16 19:48:27 +01:00
|
|
|
 | 
|