Pin launcher to platform Authentik alias

This commit is contained in:
Codex 2026-05-23 20:40:56 +03:00
parent 69de3ccfd1
commit 80193f5d9d
2 changed files with 9 additions and 2 deletions

View File

@ -41,7 +41,10 @@ PLANE_OIDC_CLIENT_ID=nodedc-task-manager
PLANE_OIDC_CLIENT_SECRET=replace-with-random-synology-secret PLANE_OIDC_CLIENT_SECRET=replace-with-random-synology-secret
PLANE_OIDC_REDIRECT_URI=https://ops.nodedc.ru/auth/oidc/callback 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 NODEDC_INTERNAL_ACCESS_TOKEN=replace-with-random-synology-secret
SESSION_SECRET=replace-with-random-synology-secret SESSION_SECRET=replace-with-random-synology-secret
COOKIE_DOMAIN=.nas.nodedc COOKIE_DOMAIN=.nas.nodedc

View File

@ -36,6 +36,8 @@ services:
PORT: 5173 PORT: 5173
NODEDC_LAUNCHER_STORAGE_DIR: /app/server/storage NODEDC_LAUNCHER_STORAGE_DIR: /app/server/storage
NODEDC_LAUNCHER_UPLOADS_DIR: /app/server/storage/uploads 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: expose:
- "5173" - "5173"
volumes: volumes:
@ -98,7 +100,9 @@ services:
- authentik-data:/data - authentik-data:/data
- ../authentik/custom-templates:/templates:ro - ../authentik/custom-templates:/templates:ro
networks: networks:
- identity identity:
aliases:
- nodedc-platform-authentik-server
authentik-worker: authentik-worker:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2026.2.2} image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2026.2.2}