From f600a622ae1b18f2086da12ea73f3f1af695edfb Mon Sep 17 00:00:00 2001 From: Dominic R Date: Tue, 9 Jun 2026 09:34:47 -0400 Subject: [PATCH] website/integrations: add Dozzle (#22939) * website/integrations: Dozzle: cleanup Closes: #16052 Agent-thread: https://sdko.org/internal/thr/ak/019ea8d4-853c-7282-a700-968e5a50b888 A7k-product: product A7k-product-repo: 2 Co-authored-by: Agent * Update website/integrations/monitoring/dozzle/index.md Signed-off-by: Dewi Roberts --------- Signed-off-by: Dewi Roberts Co-authored-by: Agent Co-authored-by: Dewi Roberts --- locale/en/dictionaries/integrations.txt | 1 + .../integrations/monitoring/dozzle/index.md | 81 +++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 website/integrations/monitoring/dozzle/index.md diff --git a/locale/en/dictionaries/integrations.txt b/locale/en/dictionaries/integrations.txt index 43e40ac016..07dc651786 100644 --- a/locale/en/dictionaries/integrations.txt +++ b/locale/en/dictionaries/integrations.txt @@ -9,6 +9,7 @@ Budibase Doki Doku dokuwiki +Dozzle Engomo Espo espocrm diff --git a/website/integrations/monitoring/dozzle/index.md b/website/integrations/monitoring/dozzle/index.md new file mode 100644 index 0000000000..97103068ce --- /dev/null +++ b/website/integrations/monitoring/dozzle/index.md @@ -0,0 +1,81 @@ +--- +title: Integrate with Dozzle +sidebar_label: Dozzle +support_level: community +--- + +## What is Dozzle? + +> Dozzle is a lightweight, web-based log viewer designed to simplify monitoring and debugging containerized applications across Docker, Docker Swarm, and Kubernetes environments. +> +> -- https://dozzle.dev/guide/what-is-dozzle + +Dozzle supports forward-proxy authentication. Use authentik as a forward auth proxy in front of Dozzle, and configure Dozzle to read the authenticated user details from the proxy headers set by authentik. + +## Preparation + +The following placeholders are used in this guide: + +- `dozzle.company` is the FQDN of the Dozzle installation. +- `authentik.company` is the FQDN of the authentik installation. + +:::info +This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application. +::: + +:::warning Protect Docker access +Dozzle can access the Docker API through the mounted Docker socket. Only expose Dozzle behind authentication, and keep Dozzle actions and shell access disabled unless you need them. +::: + +## authentik configuration + +To support the integration of Dozzle with authentik, you need to create an application/provider pair in authentik. This guide assumes that Dozzle is already deployed behind a reverse proxy that supports authentik forward auth. + +### Create an application and provider in authentik + +1. Log in to authentik as an administrator and open the authentik Admin interface. +2. Navigate to **Applications** > **Applications** and click **New Application** to open the application wizard. + - **Application**: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings. + - **Choose a Provider type**: select **Proxy Provider** as the provider type. + - **Configure the Provider**: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configurations. + - Set **Mode** to **Forward auth (single application)**. + - Set **External host** to `https://dozzle.company`. + - **Configure Bindings** _(optional)_: you can create a [binding](/docs/add-secure-apps/bindings-overview/) (policy, group, or user) to manage the listing and access to applications on a user's **Application Dashboard** page. + +3. Click **Submit** to save the new application and provider. + +### Configure proxy outpost + +The proxy provider requires an authentik proxy outpost. If you do not already have a proxy outpost, follow the [outpost documentation](/docs/add-secure-apps/outposts/) to create and deploy one. + +Add the Dozzle application to a proxy outpost that will serve it: + +1. Log in to authentik as an administrator and open the authentik Admin interface. +2. Navigate to **Applications** > **Outposts**. +3. Click the edit icon for the proxy outpost. This can be the built-in **authentik Embedded Outpost** or another proxy outpost. +4. Under **Available Applications**, select the Dozzle application and move it to **Selected Applications**. +5. Click **Update** to save your changes. + +## Dozzle configuration + +Configure Dozzle to use the `forward-proxy` authentication provider. Add the following environment variables to your Dozzle configuration: + +```env title=".env" +DOZZLE_AUTH_PROVIDER=forward-proxy +DOZZLE_AUTH_HEADER_USER=X-Authentik-Username +DOZZLE_AUTH_HEADER_EMAIL=X-Authentik-Email +DOZZLE_AUTH_HEADER_NAME=X-Authentik-Name +DOZZLE_AUTH_LOGOUT_URL=https://dozzle.company/outpost.goauthentik.io/sign_out +``` + +Configure your reverse proxy to use the authentik outpost as the forward auth endpoint for `https://dozzle.company`. Requests to `/outpost.goauthentik.io` must be routed to the authentik outpost, and all other requests must be routed to Dozzle. + +After making these changes, restart Dozzle and reload your reverse proxy. + +## Configuration verification + +To verify the login flow, open Dozzle. You should be redirected to authentik before the Dozzle web interface is shown. + +## Resources + +- [Dozzle - What is Dozzle?](https://dozzle.dev/guide/what-is-dozzle)