fix(plane): add WEB_URL and NEXT_PUBLIC_API_BASE_URL to plane-web container
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:
parent
75bed6bb04
commit
40c8d291ca
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue