🧑‍💻(dev) run Docs beside Drive on a shared identity provider

The POC needs both stacks up at once on one machine, so the default
ports (3000, 8071, 8083, 4444...) are remapped to a parallel scheme
(3001, 8072, 8084, 4445...) and both compose networks share the
lasuite-network bridge. Authentication is delegated to Drive's
Keycloak: users must have the same OIDC sub in both apps for the
impersonation headers to resolve, so a single realm serves the two of
them and the local Keycloak is no longer proxied. The Drive
server-to-server dev token is a placeholder, mirrored in the Drive
branch of the POC.
This commit is contained in:
Nathan Vasse
2026-07-30 15:49:38 +02:00
parent 0a6cfa3a33
commit b59778f657
5 changed files with 42 additions and 51 deletions
+3 -3
View File
@@ -6,12 +6,12 @@ services:
dockerfile: ./src/frontend/Dockerfile
target: frontend-production
args:
API_ORIGIN: "http://localhost:8071"
API_ORIGIN: "http://localhost:8072"
PUBLISH_AS_MIT: "false"
SW_DEACTIVATED: "true"
image: impress:frontend-production
ports:
- "3000:3000"
- "3001:3000"
y-provider:
user: ${DOCKER_USER:-1000}
@@ -25,7 +25,7 @@ services:
- env.d/development/common
- env.d/development/common.local
ports:
- "4444:4444"
- "4445:4444"
y-provider-converter:
user: ${DOCKER_USER:-1000}