-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: v3 self-host documentation (#1077)
--------- Co-authored-by: steffen911 <[email protected]>
- Loading branch information
1 parent
eb42d59
commit 43604a6
Showing
110 changed files
with
2,456 additions
and
1,117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Langfuse consists of two application containers, storage components, and an optional LLM API/Gateway. | ||
|
||
- [**Application Containers**](/self-hosting/infrastructure/containers) | ||
- Langfuse Web: The main web application serving the Langfuse UI and APIs. | ||
- Langfuse Worker: A worker that asynchronously processes events. | ||
- **Storage Components**: | ||
- [Postgres](/self-hosting/infrastructure/postgres): The main database for transactional workloads. | ||
- [Clickhouse](/self-hosting/infrastructure/clickhouse): High-performance OLAP database which stores traces, observations, and scores. | ||
- [Redis/Valkey cache](/self-hosting/infrastructure/cache): A fast in-memory data structure store. Used for queue and cache operations. | ||
- [S3/Blob Store](/self-hosting/infrastructure/blobstorage): Object storage to persist all incoming events, multi-modal inputs, and large exports. | ||
- [**LLM API / Gateway**](/self-hosting/infrastructure/llm-api): Some features depend on an external LLM API or gateway. | ||
|
||
Langfuse can be deployed within a VPC or on-premises in high-security environments. | ||
Internet access is optional. | ||
See [networking](/self-hosting/networking) documentation for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
```mermaid | ||
flowchart TB | ||
User["User, API, SDKs"] | ||
subgraph vpc["VPC"] | ||
Web["Web Server (langfuse/langfuse)"] | ||
Postgres[Postgres Database] | ||
end | ||
LLM["LLM API / Gateway (BYO, optional, same VPC or VPC peering)"] | ||
User --> Web | ||
Web --> Postgres | ||
Web -.->|"optional for playground"| LLM | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
```mermaid | ||
flowchart TB | ||
User["User, API, SDKs"] | ||
subgraph vpc["VPC"] | ||
Web["Web Server (langfuse/langfuse)"] | ||
Worker["Worker (langfuse/worker)"] | ||
Postgres[Postgres Database] | ||
Cache["Cache & Queue (Redis/Valkey)"] | ||
Clickhouse["Clickhouse Database (observability data)"] | ||
S3[S3/Blob Store] | ||
end | ||
LLM["LLM API / Gateway (BYO, optional, same VPC or VPC peering)"] | ||
User --> Web | ||
Web --> S3 | ||
Web --> Postgres | ||
Web --> Cache | ||
Web --> Clickhouse | ||
Web -.->|"optional for playground"| LLM | ||
Cache --> Worker | ||
Worker --> Clickhouse | ||
Worker --> Postgres | ||
Worker --> S3 | ||
Worker -.->|"optional for evals"| LLM | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import { Lock, Shield, Network, Users, Brush, Workflow } from "lucide-react"; | ||
|
||
import { Cards } from "nextra/components"; | ||
|
||
<Cards num={3}> | ||
<Cards.Card | ||
icon={<Lock size="24" />} | ||
title="Authentication & SSO" | ||
href="/self-hosting/authentication-and-sso" | ||
arrow | ||
/> | ||
<Cards.Card | ||
icon={<Shield size="24" />} | ||
title="Encryption" | ||
href="/self-hosting/encryption" | ||
arrow | ||
/> | ||
<Cards.Card | ||
icon={<Workflow size="24" />} | ||
title="Headless Initialization" | ||
href="/self-hosting/headless-initialization" | ||
arrow | ||
/> | ||
<Cards.Card | ||
icon={<Network size="24" />} | ||
title="Networking" | ||
href="/self-hosting/networking" | ||
arrow | ||
/> | ||
<Cards.Card | ||
icon={<Users size="24" />} | ||
title="Organization Creators" | ||
href="/self-hosting/organization-creators" | ||
arrow | ||
/> | ||
<Cards.Card | ||
icon={<Brush size="24" />} | ||
title="UI Customization" | ||
href="/self-hosting/ui-customization" | ||
arrow | ||
/> | ||
</Cards> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Support | ||
|
||
If you experience any issues, please create an [issue on GitHub](/issues) or contact the maintainers ([support](/support)). | ||
|
||
For support with production deployments, the Langfuse team provides dedicated enterprise support. To learn more, reach out to [email protected] or [schedule a demo](/schedule-demo). | ||
|
||
Alternatively, you may consider using Langfuse Cloud, which is a fully managed version of Langfuse. You can find information about its security and privacy [here](/docs/data-security-privacy). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.