Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions apps/docs/content/docs/core/cluster.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ When you deploy applications in dokploy, all of them run on the same node. If yo

The idea of using clusters is to allow each server to host a different application and, using Traefik along with the load balancer, redirect the traffic from the dokploy server to the servers you choose.

<ImageZoom src="/assets/docker-swarm.png" alt="Docker Swarm Diagram" width={1000} height={600} className="rounded-lg"/>

## Server Scaling Methods

There are two primary ways to scale your server:
Expand Down Expand Up @@ -77,11 +79,11 @@ Workers have a single purpose, which is to run the containers, acting under the

You can click the 'Add Node' button, which will display the instructions you need to follow to add your servers as nodes and join them to the dokploy manager node.

<ImageZoom src="/assets/add-node.png" width={800} height={630} className="rounded-lg"/>
<ImageZoom src="/assets/add-node.png" alt="Add Node" width={800} height={630} className="rounded-lg"/>

Once you follow the instructions, the workers or managers will appear in the table.

<ImageZoom src="/assets/nodes.png" width={800} height={630} className="rounded-lg"/>
<ImageZoom src="/assets/nodes.png" alt="View Nodes" width={800} height={630} className="rounded-lg"/>

<Callout type="info">
**Storage Cleanup Note**: Dokploy does not perform automatic cleanup of storage for workers or other associated nodes that are not the Dokploy server. For automatic cleanup, you can add your node as a remote server and configure cleanups, or create a schedule that performs that cleanup. Additionally, you don't need to perform setup when you only add the node as a remote server. For more information, see the [Remote Servers documentation](/docs/core/remote-servers).
Expand Down
Binary file added apps/docs/public/assets/docker-swarm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading