fix(plane): add WEB_URL and NEXT_PUBLIC_API_BASE_URL to plane-web container
Some checks failed
CI/CD / syntax-check (push) Successful in 1m6s
CI/CD / deploy (push) Failing after 5m49s

Without these env vars Next.js SSR renders with wrong base URL causing
React hydration error #418 — server/client HTML mismatch on first render.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jack 2026-03-26 04:13:35 +07:00
parent 75bed6bb04
commit 40c8d291ca

View file

@ -154,6 +154,9 @@ services:
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- plane-api - plane-api
environment:
- WEB_URL=https://{{ domain_plane }}
- NEXT_PUBLIC_API_BASE_URL=https://{{ domain_plane }}
networks: networks:
- backend - backend
- plane-internal - plane-internal