diff --git a/website/docs/getting-started/setup/installation-guides/docker/multiple-docker-hosts.md b/website/docs/getting-started/setup/installation-guides/docker/multiple-docker-hosts.md
index c3c0ead2b9..79418de8b0 100644
--- a/website/docs/getting-started/setup/installation-guides/docker/multiple-docker-hosts.md
+++ b/website/docs/getting-started/setup/installation-guides/docker/multiple-docker-hosts.md
@@ -45,17 +45,29 @@ The encryption password and salt in `docker.env` decrypt every datasource creden
Run the standard single-container install on a primary host. Replicate its volume to a standby host at the **block level**, for example with ZFS send/receive, DRBD, storage-array replication, or hypervisor HA such as vSphere HA. If the primary fails, start the same container on the standby and move the DNS name or virtual IP to it.
```mermaid
-flowchart LR
+---
+config:
+ markdownAutoWrap: false
+ flowchart:
+ wrappingWidth: 600
+ subGraphTitleMargin:
+ top: 10
+ bottom: 30
+---
+flowchart TB
U["Users"] --> VIP["DNS name / virtual IP"]
- VIP --> P
- VIP -. "after failover" .-> S
- subgraph P["Primary host (active)"]
+ VIP --> PA
+ VIP -. "after failover" .-> SA
+ subgraph P[" "]
+ PL["Primary host (active)"]:::label
PA["Appsmith container
embedded MongoDB + Redis"] --> PV[("Local block volume
/appsmith-stacks")]
end
- subgraph S["Standby host (stopped)"]
+ subgraph S[" "]
+ SL["Standby host (stopped)"]:::label
SA["Appsmith container
not running"] --> SV[("Replica volume")]
end
PV == "block-level replication" ==> SV
+ classDef label fill:none,stroke:none
```
Why this works: only one container is ever running, so the embedded databases are safe and nothing needs to be externalized.
@@ -99,6 +111,15 @@ Starting with the biggest:
- If you use **vSphere HA** or similar hypervisor HA, the hypervisor restarts the Appsmith VM on another physical host automatically, and the container starts through its restart policy. You only need to verify (step 6 below).
```mermaid
+---
+config:
+ markdownAutoWrap: false
+ flowchart:
+ wrappingWidth: 600
+ subGraphTitleMargin:
+ top: 10
+ bottom: 30
+---
flowchart TD
A["Primary fails
health check alerts"] --> B{"Really down?
not just a network blip"}
B -- "no" --> Z["Investigate,
no failover"]
@@ -146,6 +167,15 @@ flowchart TD
Only one host serves traffic, so you scale **up**: you give that host more CPU, memory or faster storage. Everything runs in one container (the Appsmith server, the embedded MongoDB and Redis, and before 2.8 Keycloak), so they all share the host's resources.
```mermaid
+---
+config:
+ markdownAutoWrap: false
+ flowchart:
+ wrappingWidth: 600
+ subGraphTitleMargin:
+ top: 10
+ bottom: 30
+---
flowchart LR
M["Watch the primary
CPU · RAM · disk I/O"] --> Q{"What is
the limit?"}
Q -- "CPU" --> C["Add vCPUs"]
@@ -207,11 +237,22 @@ Appsmith supplies the Appsmith image, the license key and guidance on connecting
### Reference architecture
```mermaid
+---
+config:
+ markdownAutoWrap: false
+ flowchart:
+ wrappingWidth: 600
+ subGraphTitleMargin:
+ top: 10
+ bottom: 30
+---
flowchart TB
U["Users / browsers"] --> VIP
- subgraph EDGE["Customer network · NOT Appsmith"]
+ subgraph EDGE[" "]
+ EL["Customer network · NOT Appsmith"]:::label
VIP["Virtual IP or DNS
keepalived / floating IP"]
- subgraph LB["Load balancers · TLS terminates here"]
+ subgraph LB[" "]
+ LL["Load balancers · TLS terminates here"]:::label
LB1["LB 1 · active
NGINX, HAProxy or other*"]
LB2["LB 2 · standby
NGINX, HAProxy or other*"]
end
@@ -242,6 +283,7 @@ flowchart TB
APP --> NFS
APP -.-> PG
style EDGE stroke-dasharray: 6 4
+ classDef label fill:none,stroke:none
```
_\* Any load balancer your team already runs and knows how to operate, such as a hardware appliance or your cloud provider's load balancer, works. It just needs to meet the load balancer requirements below._
@@ -482,6 +524,15 @@ Open-source NGINX only checks hosts passively, through `max_fails`. Use HAProxy,
The Docker installation procedure is the same in an air-gapped environment. Only two things change: you use the **`appsmith/appsmith-airgap`** image instead of `appsmith/appsmith-ee`, and you activate with an **offline license key** that's validated without contacting Appsmith. Everything else has to be downloaded on a connected machine, checked, and carried in.
```mermaid
+---
+config:
+ markdownAutoWrap: false
+ flowchart:
+ wrappingWidth: 600
+ subGraphTitleMargin:
+ top: 10
+ bottom: 30
+---
flowchart LR
subgraph ONLINE["Connected staging machine (same OS + CPU architecture as targets)"]
P1["docker pull
appsmith-airgap:vX.Y.Z"] --> S1["docker save | gzip"]
@@ -562,7 +613,16 @@ Repeat steps 1 and 5 for each new version. Bring in the new image (and the match
In Pattern B, each Appsmith host is interchangeable. Adding one needs no change to the existing hosts and no downtime. The new host mounts the same shared `/appsmith-stacks`, picks up the same `docker.env` (settings and encryption keys) from it, and connects to the same MongoDB and Redis.
```mermaid
-flowchart LR
+---
+config:
+ markdownAutoWrap: false
+ flowchart:
+ wrappingWidth: 600
+ subGraphTitleMargin:
+ top: 10
+ bottom: 30
+---
+flowchart TB
A["Provision new VM
same OS + Docker version"] --> B["Mount shared NFS
same path + options"]
B --> C["Copy docker-compose.yml
same pinned image tag"]
C --> D["docker compose up -d"]
@@ -607,7 +667,16 @@ flowchart LR
All hosts must run the same version, and database migrations should run from a single host.
```mermaid
-flowchart LR
+---
+config:
+ markdownAutoWrap: false
+ flowchart:
+ wrappingWidth: 600
+ subGraphTitleMargin:
+ top: 10
+ bottom: 30
+---
+flowchart TB
A["Back up
appsmithctl backup
+ MongoDB snapshot"] --> B["Test the new version
in a lower environment"]
B --> C["Maintenance window:
stop Appsmith on ALL hosts"]
C --> D["Update the pinned tag
on host 1 and start it"]