diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..670afce --- /dev/null +++ b/.env.example @@ -0,0 +1,15 @@ +NEXT_PUBLIC_WEBSITE_URL=http://localhost:3000 +# Meshkee CMS API (prod) — for local Meshkee use http://localhost:3010/api/v1 +NEXT_PUBLIC_MESHKEE_API_URL=https://api.meshkee.com/api/v1 +# Marketplace API +NEXT_PUBLIC_MARKETPLACE_API_URL=http://localhost:3001/api/v1 + +# Dashboard hosts (same Next.js app; middleware switches by Host header) +NEXT_PUBLIC_ROOT_DOMAIN=localhost +# Local customer dashboard (shared login): http://customer.localhost:3002 +NEXT_PUBLIC_CUSTOMER_DASHBOARD_HOST=customer.localhost:3002 +# Local business dashboard: http://business.localhost:3002 +NEXT_PUBLIC_BUSINESS_DASHBOARD_HOST=business.localhost:3002 +# Local superadmin dashboard: http://localhost:3002 +NEXT_PUBLIC_ADMIN_DASHBOARD_HOST=localhost:3002 +NEXT_PUBLIC_MESHKEE_TENANT_DOMAIN=iranbay.com diff --git a/.gitignore b/.gitignore index e9020b8..40543b3 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ yarn-error.log* # env files .env* +!.env.example # vercel .vercel