Files

15 lines
646 B
Bash

# ---------------------------------------------------------------------------
# apps/storefront
#
# NEXT_PUBLIC_* variables are inlined into the JavaScript bundle and are
# therefore PUBLIC. Never put a secret behind that prefix.
# ---------------------------------------------------------------------------
# Used by the browser. In production this is the public API hostname.
NEXT_PUBLIC_API_URL=http://localhost:4000
NEXT_PUBLIC_SITE_URL=http://localhost:3000
# Used by Server Components / route handlers only. Inside Docker this points at
# the API container directly, skipping the public round-trip.
API_INTERNAL_URL=http://localhost:4000