From 922f3e6d2750b92b4bb3a9b57ad4e7fce6da63d1 Mon Sep 17 00:00:00 2001 From: phg Date: Thu, 28 Aug 2025 22:54:44 +0200 Subject: [PATCH] Add extra_hosts configuration and update AUTHENTIK_HOST in environment files --- docker-compose.yml | 2 ++ template.env | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0827ff9..fecd873 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,8 @@ services: - 127.0.0.1:42443:42443 networks: - dokploy-network + extra_hosts: + - "host.docker.internal:host-gateway" environment: AUTHENTIK_HOST: ${AUTHENTIK_HOST:?Authentik host is not configured} AUTHENTIK_INSECURE: "true" diff --git a/template.env b/template.env index 911de7b..7fb6331 100644 --- a/template.env +++ b/template.env @@ -1,5 +1,5 @@ AUTHENTIK_TAG=2025.8.1 -AUTHENTIK_HOST=https://127.0.0.1:9443 +AUTHENTIK_HOST=https://host.docker.internal:9443 AUTHENTIK_HOST_BROWSER=https://sso.s1q.dev # Secrets