From 18b791a9efb3fdb66c11dd08242c1c377b820a27 Mon Sep 17 00:00:00 2001 From: Greg Miller Date: Wed, 11 Sep 2024 16:01:07 +0200 Subject: [PATCH 1/3] dbeaver/dbeaver-devops#1464 Added description about needed preconfigure single node and only after that make scaling --- README.md | 2 ++ docker-compose-host.yml | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0ed2a1b..b996ff8 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,8 @@ There are two ways to configure SSL: ### Service scaling +Before scaling the service, it is essential to configure your server in single-node mode. Run the Easy Config to set up your initial environment. + To scale your service within the cluster, follow these steps: - Open the `.env` file. diff --git a/docker-compose-host.yml b/docker-compose-host.yml index 6c65f7c..7d1bf36 100644 --- a/docker-compose-host.yml +++ b/docker-compose-host.yml @@ -25,8 +25,6 @@ services: hostname: cloudbeaver network_mode: host restart: unless-stopped - deploy: - replicas: ${REPLICA_COUNT_EE:-1} volumes: - cloudbeaver:/opt/cloudbeaver/workspace environment: From 965f64beb2b75a63b6199d0df0117785753302be Mon Sep 17 00:00:00 2001 From: Greg Miller Date: Wed, 11 Sep 2024 16:04:34 +0200 Subject: [PATCH 2/3] dbeaver/dbeaver-devops#1464 Added bold important to take attention --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b996ff8..cc11ce1 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ There are two ways to configure SSL: ### Service scaling -Before scaling the service, it is essential to configure your server in single-node mode. Run the Easy Config to set up your initial environment. +**Important:** Before scaling the service, it is essential to configure your server in single-node mode. Run the Easy Config to set up your initial environment. To scale your service within the cluster, follow these steps: From fe2dd5176a04a98144f05aca0c43f1a4ff31fb7a Mon Sep 17 00:00:00 2001 From: Greg Miller Date: Wed, 11 Sep 2024 16:57:16 +0200 Subject: [PATCH 3/3] dbeaver/dbeaver-devops#1464 Removed paragraph --- README.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/README.md b/README.md index cc11ce1..89c8fb2 100644 --- a/README.md +++ b/README.md @@ -54,19 +54,5 @@ There are two ways to configure SSL: 2. Pull new docker images: `docker-compose pull` or `docker compose pull` 3. Restart the cluster: `docker-compose up -d` or `docker compose up -d` -### Service scaling - -**Important:** Before scaling the service, it is essential to configure your server in single-node mode. Run the Easy Config to set up your initial environment. - -To scale your service within the cluster, follow these steps: - -- Open the `.env` file. -- Modify the following environment variables to set the desired number of instances for service: - -``` -REPLICA_COUNT_EE=1 -``` -- Stop and start the cluster. - ### Older versions: - [24.1.0](https://github.com/dbeaver/cloudbeaver-deploy/tree/24.1.0) \ No newline at end of file