Update _index.en.md

This commit is contained in:
Mr-Update 2023-07-15 22:07:38 +02:00 committed by GitHub
parent 257e691ad0
commit f9aa470329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,55 +9,55 @@ This tutorial is based on latest DSM v6.
Open package manager and install docker Open package manager and install docker
| | | | | |
| --------------- | -------------------------------------------------------- | | -- | -- |
![](/docs/en/self-host/synology/images/package-manager.png) | ![](/docs/en/self-host/synology/images/docker.png) | ![](/docs/en/self-host/synology/images/package-manager.png) | ![](/docs/en/self-host/synology/images/docker.png) |
### Install RustDesk Server ### Install RustDesk Server
| Search rustdesk-server in Docker's registry and install by double click | Installed rustdesk-server image, double click to create rustdesk-server container | | Search rustdesk-server in Docker's registry and install by double click | Installed rustdesk-server image, double click to create rustdesk-server container |
| --------------- | -------------------------------------------------------- | | -- | -- |
![](/docs/en/self-host/synology/images/pull-rustdesk-server.png) | ![](/docs/en/self-host/synology/images/rustdesk-server-installed.png) | ![](/docs/en/self-host/synology/images/pull-rustdesk-server.png) | ![](/docs/en/self-host/synology/images/rustdesk-server-installed.png) |
### Create hbbs container ### Create hbbs container
As mentioned above, double click on rustdesk-server image to create new container, set it name to `hbbs`. As mentioned above, double click on rustdesk-server image to create new container, set it name to `hbbs`.
![](/docs/en/self-host/synology/images/hbbs.png) ![](/docs/en/self-host/synology/images/hbbs.png)
Click on above "Advanced Settings". Click on above "Advanced Settings".
- Enable auto-restart - Enable auto-restart
![](/docs/en/self-host/synology/images/auto-restart.png) ![](/docs/en/self-host/synology/images/auto-restart.png)
- Enable "Use the same network as Docker host", for more about host net, please [check](/docs/en/self-host/install/#net-host) - Enable "Use the same network as Docker host", for more about host net, please [check](/docs/en/self-host/install/#net-host)
![](/docs/en/self-host/synology/images/host-net.png) ![](/docs/en/self-host/synology/images/host-net.png)
- Mount a host directory (e.g. `Shared/test/`) to `/root`, hbbs will generate some files (including the `key` file) in this directory - Mount a host directory (e.g. `Shared/test/`) to `/root`, hbbs will generate some files (including the `key` file) in this directory
| Mount | Files generated in the host directory | | Mount | Files generated in the host directory |
|-- | -- | | -- | -- |
![](/docs/en/self-host/synology/images/mount.png?width=500px) | ![](/docs/en/self-host/synology/images/mounted-dir.png?width=300px) | ![](/docs/en/self-host/synology/images/mount.png?width=500px) | ![](/docs/en/self-host/synology/images/mounted-dir.png?width=300px) |
- Set command - Set command
{{% notice note %}} {{% notice note %}}
Synology's OS is Debian based, so host net (--net=host) works fine, we do not need to map ports with `-p` option. Synology's OS is Debian based, so host net (--net=host) works fine, we do not need to map ports with `-p` option.
`192.168.16.98` is an intranet ip used here for demonstration only, please set it to a public ip when you deploy. `192.168.16.98` is an intranet IP used here for demonstration only, please set it to a public IP when you deploy.
{{% /notice %}} {{% /notice %}}
![](/docs/en/self-host/synology/images/hbbs-cmd.png?v2) ![](/docs/en/self-host/synology/images/hbbs-cmd.png?v2)
- Done - Done
![](/docs/en/self-host/synology/images/hbbs-config.png) ![](/docs/en/self-host/synology/images/hbbs-config.png)
### Create hbbr container ### Create hbbr container
Please repeat above `hbbs` steps, but change container name to `hbbr` and command to `hbbr`. Please repeat above `hbbs` steps, but change container name to `hbbr` and command to `hbbr`.
![](/docs/en/self-host/synology/images/hbbr-config.png) ![](/docs/en/self-host/synology/images/hbbr-config.png)
### hbbr/hbbs containers ### hbbr/hbbs containers
@ -65,5 +65,5 @@ Please repeat above `hbbs` steps, but change container name to `hbbr` and comman
| Double click on container and check log | Double confirm hbbs/hbbr using host network | | Double click on container and check log | Double confirm hbbs/hbbr using host network |
|-- | -- | | -- | -- |
![](/docs/en/self-host/synology/images/log.png?width=500px) | ![](/docs/en/self-host/synology/images/network-types.png?width=500px) | ![](/docs/en/self-host/synology/images/log.png?width=500px) | ![](/docs/en/self-host/synology/images/network-types.png?width=500px) |