From a2ef4b14ed5fe2c92beb3a7aebe27a2cd7771f3a Mon Sep 17 00:00:00 2001 From: fanmovies999 <110355332+fanmovies999@users.noreply.github.com> Date: Sun, 28 Aug 2022 19:15:49 +0200 Subject: [PATCH 1/2] Add comment on docker-compose and private/public keys --- content/self-host/install/_index.en.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/self-host/install/_index.en.md b/content/self-host/install/_index.en.md index 95358e0..6b10768 100644 --- a/content/self-host/install/_index.en.md +++ b/content/self-host/install/_index.en.md @@ -265,3 +265,9 @@ If you want to prohibit users without the key from establishing non-encrypted co ``` If you want to change the key, remove the `id_ed25519` and `id_ed25519.pub` files and restart `hbbs`/`hbbr`,`hbbs` will generate a new key pair. + +{{% notice note %}} +If you are using docker-compose and keys don't exist, the start of containers will create differents keys in hbbs and hbbr folders. +You could create keys manually in hbbs and copy them to hbbr, before starting the containers. +Or you could stop hbbr container and copy the keys from hbbs to hbbr folder, and restart the container. +{{% /notice %}} From 9a15634a326330f3dfa644bd956c4243fbc40b7f Mon Sep 17 00:00:00 2001 From: fanmovies999 <110355332+fanmovies999@users.noreply.github.com> Date: Sun, 28 Aug 2022 19:17:32 +0200 Subject: [PATCH 2/2] Formatting text --- content/self-host/install/_index.en.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/self-host/install/_index.en.md b/content/self-host/install/_index.en.md index 6b10768..7c7f7f8 100644 --- a/content/self-host/install/_index.en.md +++ b/content/self-host/install/_index.en.md @@ -268,6 +268,8 @@ If you want to change the key, remove the `id_ed25519` and `id_ed25519.pub` file {{% notice note %}} If you are using docker-compose and keys don't exist, the start of containers will create differents keys in hbbs and hbbr folders. + You could create keys manually in hbbs and copy them to hbbr, before starting the containers. + Or you could stop hbbr container and copy the keys from hbbs to hbbr folder, and restart the container. {{% /notice %}}