From 80193f5d9d40fc50771c941105c835cb5b437f93 Mon Sep 17 00:00:00 2001 From: Codex Date: Sat, 23 May 2026 20:40:56 +0300 Subject: [PATCH] Pin launcher to platform Authentik alias --- infra/synology/.env.synology.example | 5 ++++- infra/synology/docker-compose.platform-http.yml | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/infra/synology/.env.synology.example b/infra/synology/.env.synology.example index d748929..dc9bcaa 100644 --- a/infra/synology/.env.synology.example +++ b/infra/synology/.env.synology.example @@ -41,7 +41,10 @@ PLANE_OIDC_CLIENT_ID=nodedc-task-manager PLANE_OIDC_CLIENT_SECRET=replace-with-random-synology-secret PLANE_OIDC_REDIRECT_URI=https://ops.nodedc.ru/auth/oidc/callback -NODEDC_AUTHENTIK_BASE_URL=http://authentik-server:9000 +NODEDC_AUTHENTIK_BASE_URL=http://nodedc-platform-authentik-server:9000 +AUTHENTIK_BASE_URL=http://nodedc-platform-authentik-server:9000 +NODEDC_AUTHENTIK_SERVICE_TOKEN=replace-with-authentik-api-token +AUTHENTIK_SERVICE_TOKEN=replace-with-authentik-api-token NODEDC_INTERNAL_ACCESS_TOKEN=replace-with-random-synology-secret SESSION_SECRET=replace-with-random-synology-secret COOKIE_DOMAIN=.nas.nodedc diff --git a/infra/synology/docker-compose.platform-http.yml b/infra/synology/docker-compose.platform-http.yml index c4a5869..c7f2140 100644 --- a/infra/synology/docker-compose.platform-http.yml +++ b/infra/synology/docker-compose.platform-http.yml @@ -36,6 +36,8 @@ services: PORT: 5173 NODEDC_LAUNCHER_STORAGE_DIR: /app/server/storage NODEDC_LAUNCHER_UPLOADS_DIR: /app/server/storage/uploads + NODEDC_AUTHENTIK_BASE_URL: http://nodedc-platform-authentik-server:9000 + AUTHENTIK_BASE_URL: http://nodedc-platform-authentik-server:9000 expose: - "5173" volumes: @@ -98,7 +100,9 @@ services: - authentik-data:/data - ../authentik/custom-templates:/templates:ro networks: - - identity + identity: + aliases: + - nodedc-platform-authentik-server authentik-worker: image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2026.2.2}