From 5c21ecb9dc38e4618ce5bf1fd12e5eb3bbdb4d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Tue, 31 Dec 2024 17:59:49 +0000 Subject: [PATCH] Add high availability configuration details for BunkerWeb installation --- docs/integrations.md | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/docs/integrations.md b/docs/integrations.md index d8f27c572..5c4ede677 100644 --- a/docs/integrations.md +++ b/docs/integrations.md @@ -532,6 +532,53 @@ BunkerWeb is managed using systemctl : - Reload it to apply new configuration : `systemctl reload bunkerweb` - And restart it : `systemctl restart bunkerweb` +### High availability + +The scheduler can be detached from the BunkerWeb instance to provide high availability. In this case, the scheduler will be installed on a separate server and will be able to manage multiple BunkerWeb instances. + +#### Manager + +To install only the scheduler on a server, you can export the following variables before executing the BunkerWeb installation : + +```shell +export MANAGER_MODE=yes +export UI_WIZARD=no +``` + +Alternatively, you can also export the following variables to only enable the scheduler : + +```shell +export SERVICE_SCHEDULER=yes +export SERVICE_BUNKERWEB=no +export SERVICE_UI=no +``` + +#### Worker + +On another server, to install only BunkerWeb, you can export the following variables before executing the BunkerWeb installation : + +```shell +export WORKER_MODE=yes +``` + +Alternatively, you can also export the following variables to only enable BunkerWeb : + +```shell +export SERVICE_BUNKERWEB=yes +export SERVICE_SCHEDULER=no +export SERVICE_UI=no +``` + +#### Web UI + +The Web UI can be installed on a separate server to provide a dedicated interface for managing BunkerWeb instances. To install only the Web UI, you can export the following variables before executing the BunkerWeb installation : + +```shell +export SERVICE_BUNKERWEB=no +export SERVICE_SCHEDULER=no +export SERVICE_UI=yes +``` + ## Docker autoconf