From b4140829802bf21825935f468aac1b22b3d966c0 Mon Sep 17 00:00:00 2001 From: Mr-Update <37781396+Mr-Update@users.noreply.github.com> Date: Mon, 16 Jan 2023 19:48:27 +0100 Subject: [PATCH] Update _index.en.md --- content/self-host/synology/_index.en.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/content/self-host/synology/_index.en.md b/content/self-host/synology/_index.en.md index 87bdc2b..8c1e146 100644 --- a/content/self-host/synology/_index.en.md +++ b/content/self-host/synology/_index.en.md @@ -11,60 +11,59 @@ Open package manager and install docker | | | | --------------- | -------------------------------------------------------- | -![](/docs/en/self-host/synogy/images/package-manager.png) | ![](/docs/en/self-host/synogy/images/docker.png) +![](/docs/en/self-host/synology/images/package-manager.png) | ![](/docs/en/self-host/synology/images/docker.png) ### Install RustDesk Server | Search rustdesk-server in Docker's registery and install by double click | Installed rustdesk-server image, double click to create rustdesk-server container | | --------------- | -------------------------------------------------------- | -![](/docs/en/self-host/synogy/images/pull-rustdesk-server.png) | ![](/docs/en/self-host/synogy/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 As mentioned above, double click on rustdesk-server image to create new container, set it name to `hbbs`. -![](/docs/en/self-host/synogy/images/hbbs.png) +![](/docs/en/self-host/synology/images/hbbs.png) Click on above "Advanced Settings". - Enable auto-restart -![](/docs/en/self-host/synogy/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) -![](/docs/en/self-host/synogy/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 | Files generated in the host directory | |-- | -- | -![](/docs/en/self-host/synogy/images/mount.png?width=500px) | ![](/docs/en/self-host/synogy/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 {{% notice note %}} -Synogy'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. {{% /notice %}} -![](/docs/en/self-host/synogy/images/hbbs-cmd.png?v2) +![](/docs/en/self-host/synology/images/hbbs-cmd.png?v2) - Done -![](/docs/en/self-host/synogy/images/hbbs-config.png) +![](/docs/en/self-host/synology/images/hbbs-config.png) ### Create hbbr container Please repeat above `hbbs` steps, but change container name to `hbbr` and command to `hbbr`. -![](/docs/en/self-host/synogy/images/hbbr-config.png) +![](/docs/en/self-host/synology/images/hbbr-config.png) ### hbbr/hbbs containers -![](/docs/en/self-host/synogy/images/containers.png?width=500px) +![](/docs/en/self-host/synology/images/containers.png?width=500px) | Double click on container and check log | Double confirm hbbs/hbbr using host network | |-- | -- | -![](/docs/en/self-host/synogy/images/log.png?width=500px) | ![](/docs/en/self-host/synogy/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)