Merge pull request #121 from Mr-Update/patch-1

Fixed a few more Synology typos / small correction of Android/Web
This commit is contained in:
RustDesk 2023-01-18 11:57:01 +08:00 committed by GitHub
commit e572a98d06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 88 additions and 89 deletions

View File

@ -1,6 +1,6 @@
---
title: Android
title: Web
weight: 23
---
[English](/docs/en/dev/build/web)
[English](/docs/en/dev/build/web)

View File

@ -1,6 +1,6 @@
---
title: Android
title: Web
weight: 23
---
[English](/docs/en/dev/build/web)
[English](/docs/en/dev/build/web)

View File

@ -11,33 +11,33 @@ Paketmanager öffnen und Docker installieren
| | |
| --------------- | -------------------------------------------------------- |
![](/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)
### RustDesk-Server installieren
| RustDesk-Server im Docker-Register suchen und per Doppelklick installieren | RustDesk-Server-Image ist installiert, Doppelklick zum Erstellen des RustDesk-Server-Containers |
| --------------- | -------------------------------------------------------- |
![](/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)
### hbbs-Container erstellen
Wie oben erwähnt, doppelklicken Sie auf das RustDesk-Server-Image, um einen neuen Container zu erstellen, und geben Sie ihm den Namen `hbbs`.
![](/docs/en/self-host/synogy/images/hbbs.png)
![](/docs/en/self-host/synology/images/hbbs.png)
Klicken Sie auf "Erweiterte Einstellungen".
- Automatischen Neustart aktivieren
![](/docs/en/self-host/synogy/images/auto-restart.png)
![](/docs/en/self-host/synology/images/auto-restart.png)
- Aktivieren Sie "Use the same network as Docker host". Mehr Infos über das Hostnetz siehe [hier](/docs/de/self-host/install/#net-host)
![](/docs/en/self-host/synogy/images/host-net.png)
![](/docs/en/self-host/synology/images/host-net.png)
- Binden Sie ein Host-Verzeichnis (z. B. `Shared/test/`) als `/root` ein, hbbs wird einige Dateien (einschließlich der `key`-Datei) in diesem Verzeichnis erzeugen
| Einbinden | Im Host-Verzeichnis erzeugte Dateien |
|-- | -- |
![](/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)
- Befehl einstellen
{{% notice note %}}
@ -47,24 +47,24 @@ Das Betriebssystem von Synology basiert auf Debian, daher funktioniert das Hostn
{{% /notice %}}
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?v2)
![](/docs/en/self-host/synology/images/hbbs-cmd.png?v2)
- Fertig
![](/docs/en/self-host/synogy/images/hbbs-config.png)
![](/docs/en/self-host/synology/images/hbbs-config.png)
### hbbr-Container erstellen
Bitte wiederholen Sie die obigen Schritte für `hbbs`, aber ändern den Containernamen in `hbbr` und den Befehl in `hbbr`.
Bitte wiederholen Sie die obigen Schritte für `hbbs`, ändern aber den Containernamen in `hbbr` und den Befehl in `hbbr`.
![](/docs/en/self-host/synogy/images/hbbr-config.png)
![](/docs/en/self-host/synology/images/hbbr-config.png)
### hbbr/hbbs-Container
![](/docs/en/self-host/synogy/images/containers.png?width=500px)
![](/docs/en/self-host/synology/images/containers.png?width=500px)
| Doppelklicken Sie auf den Container und prüfen Sie das Protokoll | Bestätigen Sie hbbs/hbbr über das Host-Netzwerk doppelt |
|-- | -- |
![](/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)

View File

@ -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)

View File

@ -11,33 +11,33 @@ Abra el administrador de paquetes e instale la ventana acoplable
| | |
| --------------- | -------------------------------------------------------- |
![](/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)
### Instalar el servidor RustDesk
| Busque rustdesk-server en el registro de Docker e instálelo haciendo doble clic | Imagen de rustdesk-server instalada, haga doble clic para crear el contenedor de rustdesk-server |
| --------------- | -------------------------------------------------------- |
![](/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)
### Crear contenedor hbbs
Como se mencionó anteriormente, haga doble clic en la imagen de rustdesk-server para crear un nuevo contenedor, establezca su nombre en `hbbs`.
![](/docs/en/self-host/synogy/images/hbbs.png)
![](/docs/en/self-host/synology/images/hbbs.png)
Haga clic en "Configuración avanzada" arriba.
- Habilitar reinicio automático
![](/docs/en/self-host/synogy/images/auto-restart.png)
![](/docs/en/self-host/synology/images/auto-restart.png)
- Habilite "Usar la misma red que el host de Docker", para obtener más información sobre la red del host, por favor [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)
- Monte un directorio de host (por ejemplo, `Shared/test/`) en `/root`, hbbs generará algunos archivos (incluido el archivo `key`) en este directorio
| Monte | Archivos generados en el directorio host |
|-- | -- |
![](/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)
- Establecer comando
{{% notice note %}}
@ -47,24 +47,24 @@ Synology OS está basado en Debian, os host net (--net=host) funciona bien, no n
{{% /notice %}}
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?v2)
![](/docs/en/self-host/synology/images/hbbs-cmd.png?v2)
- Hecho
![](/docs/en/self-host/synogy/images/hbbs-config.png)
![](/docs/en/self-host/synology/images/hbbs-config.png)
### Crear contenedor hbbr
Repita los pasos `hbbs` anteriores, pero cambie el nombre del contenedor a `hbbr` y el comando a `hbbr`.
![](/docs/en/self-host/synogy/images/hbbr-config.png)
![](/docs/en/self-host/synology/images/hbbr-config.png)
### hbbr/hbbs contenedor
![](/docs/en/self-host/synogy/images/containers.png?width=500px)
![](/docs/en/self-host/synology/images/containers.png?width=500px)
| Haga doble clic en el contenedor y verifique el registro | Doble confirmación de hbbs/hbbr usando la red host |
|-- | -- |
![](/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)

View File

@ -3,4 +3,4 @@ title: Synology
weight: 22
---
[English](/docs/en/self-host/synogy)
[English](/docs/en/self-host/synology)

View File

@ -11,60 +11,60 @@ weight: 22
| | |
| --------------- | -------------------------------------------------------- |
![](/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)
### RustDeskサーバーのインストール
| Dockerのレジストリからrustdesk-serverを検索しダブルクリックでインストールします | rustdesk-server イメージをインストールしダブルクリックで rustdesk-server コンテナを作成します |
| --------------- | -------------------------------------------------------- |
![](/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)
### hbbsコンテナの作成
上記のように rustdesk-server イメージをダブルクリックして新しいコンテナを作成し名前を `hbbs` にします。
![](/docs/en/self-host/synogy/images/hbbs.png)
![](/docs/en/self-host/synology/images/hbbs.png)
"Advanced Settings" をクリックします。
- 自動再起動を有効にする
![](/docs/en/self-host/synogy/images/auto-restart.png)
![](/docs/en/self-host/synology/images/auto-restart.png)
- "Use the same network as Docker host" を有効にします。 ホストの詳細については [こちら](/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)
- コンテナ内のホームディレクトリ `/root` をホストディレクトリ (例: `Shared/test/`) に配置するとhbbsはこのディレクトリにいくつかのファイル (`鍵`ファイルを含む) を生成します
| 配置 | ホームディレクトリに生成されるファイル |
|-- | -- |
![](/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)
- コマンドの設定
{{% notice note %}}
Synogy の OS は debain ベースなのでホストネット (--net=host) は問題なく動作するので `-p` オプションでポートをマッピングする必要はありません。
Synology の OS は Debian ベースなのでホストネット (--net=host) は問題なく動作するので `-p` オプションでポートをマッピングする必要はありません。
`192.168.16.98` はプライベートネットワークのIPでここではデモのために使用しています。デプロイ時にはパブリックIPに設定してください。
{{% /notice %}}
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?v2)
![](/docs/en/self-host/synology/images/hbbs-cmd.png?v2)
- 完了
![](/docs/en/self-host/synogy/images/hbbs-config.png)
![](/docs/en/self-host/synology/images/hbbs-config.png)
### hbbr コンテナの作成
上記の `hbbs` の手順を繰り返してください。ただしコンテナ名を `hbbr` にコマンドを `hbbr` に変更してください。
![](/docs/en/self-host/synogy/images/hbbr-config.png)
![](/docs/en/self-host/synology/images/hbbr-config.png)
### hbbr/hbbs コンテナ
![](/docs/en/self-host/synogy/images/containers.png?width=500px)
![](/docs/en/self-host/synology/images/containers.png?width=500px)
| コンテナをダブルクリックしログを確認する | ホストネットワークを使用したhbbs/hbbrの二重確認 |
|-- | -- |
![](/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)

View File

@ -3,4 +3,4 @@ title: Synology
weight: 22
---
[English](/docs/en/self-host/synogy)
[English](/docs/en/self-host/synology)

View File

@ -11,33 +11,33 @@ weight: 22
| | |
| --------------- | -------------------------------------------------------- |
![](/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)
### Установка RustDesk Server
| Найдите rustdesk-server в реестре Docker и установите двойным кликом мыши | Установленный образ rustdesk-server rustdesk-server |
| --------------- | -------------------------------------------------------- |
![](/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)
### Создание контейнера hbbs
Дважды нажмите на образ rustdesk-server чтобы создать контейнер, установите контейнеру имя `hbbs`.
![](/docs/en/self-host/synogy/images/hbbs.png)
![](/docs/en/self-host/synology/images/hbbs.png)
Нажмите "Advanced Settings".
- Включите автоперезапуск
![](/docs/en/self-host/synogy/images/auto-restart.png)
![](/docs/en/self-host/synology/images/auto-restart.png)
- Включите опцию "Use the same network as Docker host", [подробности](/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)
- Смонтируйте папку хоста (например `Shared/test/`) в `/root`, hbbs создаст файлы в папке
| Монтирование | Созданные файлы |
|-- | -- |
![](/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)
- Установите запускаемую команду
{{% notice note %}}
@ -47,23 +47,23 @@ weight: 22
{{% /notice %}}
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?v2)
![](/docs/en/self-host/synology/images/hbbs-cmd.png?v2)
- Готово
![](/docs/en/self-host/synogy/images/hbbs-config.png)
![](/docs/en/self-host/synology/images/hbbs-config.png)
### Создание контейнера hbbr
Произведите те-же действия, что и в случае hbbs, но измените имя контейнера на `hbbr` и запускаемую команду на `hbbr`.
![](/docs/en/self-host/synogy/images/hbbr-config.png)
![](/docs/en/self-host/synology/images/hbbr-config.png)
### Контейнеры hbbr/hbbs
![](/docs/en/self-host/synogy/images/containers.png?width=500px)
![](/docs/en/self-host/synology/images/containers.png?width=500px)
| Двойной клик на контейнер чтобы перейти в журнал | Проверьте, чтобы hbbs/hbbr использовали сеть хоста |
|-- | -- |
![](/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)

View File

@ -12,59 +12,59 @@ weight: 22
| | |
| --------------- | -------------------------------------------------------- |
![](/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)
### 安装 RustDesk Server
| 在 Docker's registery 里搜索 rustdesk-server 并双击安装 | 安装 rustdesk-server 镜像后, 双击镜像创建容器 |
| --------------- | -------------------------------------------------------- |
![](/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)
### 创建 hbbs 容器
如上所述哦,双击 rustdesk-server 镜像创建新容器,设置名称 `hbbs`
![](/docs/en/self-host/synogy/images/hbbs.png)
![](/docs/en/self-host/synology/images/hbbs.png)
点击上面的 "Advanced Settings"。
- 开启 auto-restart
![](/docs/en/self-host/synogy/images/auto-restart.png)
![](/docs/en/self-host/synology/images/auto-restart.png)
- 开启 "Use the same network as Docker host", 关于 host net的更多解释请[查看](/docs/zh-cn/self-host/install/#net-host)
![](/docs/en/self-host/synogy/images/host-net.png)
![](/docs/en/self-host/synology/images/host-net.png)
- 将容器里的 home 目录 `/root` 挂在到宿主目录(比如 `Shared/test/`), hbbs将把产生的文件包括`key`文件)放在该目录。
| 挂在 | 产生的文件 |
|-- | -- |
![](/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)
- 设置命令
{{% notice note %}}
Synogy 的操作系统是基于 debain 的因此host net (--net=host) 可以正常工作,我们不需要使用 `-p` 选项映射端口。
Synology 的操作系统是基于 Debian 的因此host net (--net=host) 可以正常工作,我们不需要使用 `-p` 选项映射端口。
`192.168.16.98`为内网ip此处仅作演示部署时请设置为公网ip。
{{% /notice %}}
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?v2)
![](/docs/en/self-host/synology/images/hbbs-cmd.png?v2)
- 搞定
![](/docs/en/self-host/synogy/images/hbbs-config.png)
![](/docs/en/self-host/synology/images/hbbs-config.png)
### 创建 hbbr 容器
请重复上述 `hbbs` 步骤,请将容器名更改为 `hbbr` 并将命令更改为 `hbbr`
![](/docs/en/self-host/synogy/images/hbbr-config.png)
![](/docs/en/self-host/synology/images/hbbr-config.png)
### hbbr/hbbs 容器创建完成
![](/docs/en/self-host/synogy/images/containers.png?width=500px)
![](/docs/en/self-host/synology/images/containers.png?width=500px)
| 双击容器并查看日志 | 确认 hbbs/hbbr 在使用 host net |
|-- | -- |
![](/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)

View File

@ -12,59 +12,59 @@ weight: 22
| | |
| --------------- | -------------------------------------------------------- |
![](/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)
### 安裝 RustDesk Server
| 在 Docker's registery 裡搜索 rustdesk-server 並雙擊安裝 | 安裝 rustdesk-server 鏡像後, 雙擊鏡像創建容器 |
| --------------- | -------------------------------------------------------- |
![](/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)
### 創建 hbbs 容器
如上所述哦,雙擊 rustdesk-server 鏡像創建新容器,設置名稱 `hbbs`
![](/docs/en/self-host/synogy/images/hbbs.png)
![](/docs/en/self-host/synology/images/hbbs.png)
點擊上面的 "Advanced Settings"。
- 開啟 auto-restart
![](/docs/en/self-host/synogy/images/auto-restart.png)
![](/docs/en/self-host/synology/images/auto-restart.png)
- 開啟 "Use the same network as Docker host", 關於 host net的更多解釋請[查看](/docs/zh-tw/self-host/install/#net-host)
![](/docs/en/self-host/synogy/images/host-net.png)
![](/docs/en/self-host/synology/images/host-net.png)
- 將容器裡的 home 目錄 `/root` 掛在到宿主目錄(比如 `Shared/test/`), hbbs將把產生的文件包括`key`文件)放在該目錄。
| 掛在 | 產生的文件 |
|-- | -- |
![](/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)
- 設置命令
{{% notice note %}}
Synogy 的操作系統是基於 debain 的因此host net (--net=host) 可以正常工作,我們不需要使用 `-p` 選項映射端口。
Synology 的操作系統是基於 Debian 的因此host net (--net=host) 可以正常工作,我們不需要使用 `-p` 選項映射端口。
`192.168.16.98`為內網ip此處僅作演示部署時請設置為公網ip。
{{% /notice %}}
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?v2)
![](/docs/en/self-host/synology/images/hbbs-cmd.png?v2)
- 搞定
![](/docs/en/self-host/synogy/images/hbbs-config.png)
![](/docs/en/self-host/synology/images/hbbs-config.png)
### 創建 hbbr 容器
請重複上述 `hbbs` 步驟,請將容器名更改為 `hbbr` 並將命令更改為 `hbbr`
![](/docs/en/self-host/synogy/images/hbbr-config.png)
![](/docs/en/self-host/synology/images/hbbr-config.png)
### hbbr/hbbs 容器創建完成
![](/docs/en/self-host/synogy/images/containers.png?width=500px)
![](/docs/en/self-host/synology/images/containers.png?width=500px)
| 雙擊容器並查看日誌 | 確認 hbbs/hbbr 在使用 host net |
|-- | -- |
![](/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)