From 70d8b1c93c359243d1afab985ed5222d1fc0b018 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Tue, 6 Jan 2026 11:45:22 +0200 Subject: [PATCH] fix container --- GW/authentik,yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/GW/authentik,yml b/GW/authentik,yml index 16f96ef..997ae0a 100644 --- a/GW/authentik,yml +++ b/GW/authentik,yml @@ -52,25 +52,23 @@ services: server: image: ghcr.io/goauthentik/server:2025.10.3 - command: server depends_on: postgresql: condition: service_healthy init-secrets: condition: service_completed_successfully - entrypoint: - - sh - - -c + entrypoint: ["/bin/bash", "-c"] + command: - | export AUTHENTIK_SECRET_KEY=$$(cat /secrets/secret_key) export AUTHENTIK_POSTGRESQL__PASSWORD=$$(cat /secrets/pg_pass) - exec /usr/local/bin/dumb-init -- ak server + exec ak server environment: AUTHENTIK_POSTGRESQL__HOST: postgresql AUTHENTIK_POSTGRESQL__NAME: authentik AUTHENTIK_POSTGRESQL__USER: authentik ports: - - 9000:9000 + - 9002:9000 - 9443:9443 restart: unless-stopped volumes: @@ -80,19 +78,17 @@ services: worker: image: ghcr.io/goauthentik/server:2025.10.3 - command: worker depends_on: postgresql: condition: service_healthy init-secrets: condition: service_completed_successfully - entrypoint: - - sh - - -c + entrypoint: ["/bin/bash", "-c"] + command: - | export AUTHENTIK_SECRET_KEY=$$(cat /secrets/secret_key) export AUTHENTIK_POSTGRESQL__PASSWORD=$$(cat /secrets/pg_pass) - exec /usr/local/bin/dumb-init -- ak worker + exec ak worker environment: AUTHENTIK_POSTGRESQL__HOST: postgresql AUTHENTIK_POSTGRESQL__NAME: authentik