Skip to content

Commit

Permalink
chore: add details on docker compose scaling (#1160)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen911 authored Jan 13, 2025
1 parent 6c7002b commit 6d2baa4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
8 changes: 7 additions & 1 deletion pages/self-hosting/docker-compose.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Install Docker packages:
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
```

Verify installlation:
Verify installation:

```bash
sudo docker run hello-world
Expand Down Expand Up @@ -116,6 +116,12 @@ import SelfHostFeatures from "@/components-mdx/self-host-features.mdx";

<SelfHostFeatures />

## Scaling

Docker compose does not support horizontal scaling without an additional Load Balancer component.
We recommend to use one of the other deployment options if your load exceeds single-instance scale or requires high availability.
To add more throughput on a docker compose setup, you can usually use a larger virtual machine, i.e. scale vertically.

## Shutdown

You can stop the containers by hitting `Ctrl+C` in the terminal.
Expand Down

0 comments on commit 6d2baa4

Please sign in to comment.