Add NEXT_PUBLIC asset vars to runtime environment
NEXT_PUBLIC_ vars need to be set both at build time (client bundle) AND at runtime (server-side rendering in standalone mode). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
41d784e92d
commit
cd7c0200f3
|
|
@ -15,6 +15,8 @@ services:
|
|||
- NEXT_PUBLIC_DIRECTUS_URL=https://katheryn-cms.jeffemmett.com
|
||||
- DIRECTUS_API_TOKEN=katheryn-frontend-readonly-8591de0316ded82fab45328cf1e49cb1
|
||||
- DIRECTUS_INTERNAL_URL=http://katheryn-cms:8055
|
||||
- NEXT_PUBLIC_DIRECTUS_ASSET_URL=http://katheryn-cms:8055
|
||||
- NEXT_PUBLIC_DIRECTUS_ASSET_TOKEN=katheryn-frontend-readonly-8591de0316ded82fab45328cf1e49cb1
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.katheryn-staging.rule=Host(`katheryn-staging.jeffemmett.com`)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue