From db9f42520ae7a084bdeff19d627c3a2077c3ee6e Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Sun, 9 Aug 2026 22:27:28 +0200 Subject: [PATCH] fix: stabilize v2 CI --- Dockerfile | 4 ++-- apps/docs/docs/advanced/environment-variables/index.mdx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index f07fcae3b..b4318980b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ COPY --parents ./packages/definitions/src ./ # isolated linker, patches apply inside the virtual store (node_modules/.pnpm/...) # which IS created by pnpm fetch. The original hoisted linker is restored # before the install step so the final node_modules layout stays flat. -RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \ +RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store,sharing=locked \ pnpm config set store-dir /pnpm/store && \ sed -i 's/nodeLinker: hoisted/nodeLinker: isolated/' pnpm-workspace.yaml && \ pnpm fetch --ignore-scripts && \ @@ -31,7 +31,7 @@ RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \ # Install only from the fetched, committed lockfile so local and Docker builds # resolve the same dependency graph. Serial lifecycle builds avoid esbuild's # atomic binary replacement racing across the hoisted workspace (pnpm/pnpm#8200). -RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \ +RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store,sharing=locked \ npm_config_nodedir=/usr/local pnpm install --recursive --offline --frozen-lockfile --child-concurrency=1 COPY . . diff --git a/apps/docs/docs/advanced/environment-variables/index.mdx b/apps/docs/docs/advanced/environment-variables/index.mdx index e3afc40b0..86444e541 100644 --- a/apps/docs/docs/advanced/environment-variables/index.mdx +++ b/apps/docs/docs/advanced/environment-variables/index.mdx @@ -109,10 +109,10 @@ External redis is currently not supported with Proxmox Community Scripts The advanced deployments environment variables should only be used if you know what you are doing. ::: -| Environment Variable | Description | -| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- | -| `DB_MIGRATIONS_DISABLED` | Disable db migrations. For example for helm charts. | -| `WORKSHOP_PUBLIC_ORIGIN` | Origin used in PocketBase-generated links and email. It must be set explicitly in production and must match the externally reachable Workshop origin. | +| Environment Variable | Description | +| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `DB_MIGRATIONS_DISABLED` | Disable db migrations. For example for helm charts. | +| `WORKSHOP_PUBLIC_ORIGIN` | Origin used in PocketBase-generated links and email. It must be set explicitly in production and must match the externally reachable Workshop origin. | | `PB_ALLOWED_ORIGINS` | Browser origins accepted by PocketBase. Use `*` for the central public community so arbitrary self-hosted Homarr instances can use the API and OAuth; private staging may use a comma-separated origin allowlist. | All public URL variables reject non-HTTP protocols, embedded credentials, query strings, and fragments, and normalize