From dc1d6e585d972e6a0c5b7d2cda9d7f4b405d4ffc Mon Sep 17 00:00:00 2001 From: Alireza Hassani Date: Sat, 3 Oct 2026 23:17:48 +0330 Subject: [PATCH] Track .env.example for local setup Co-authored-by: Cursor --- .env.example | 15 +++++++++++++++ .gitignore | 1 + 2 files changed, 16 insertions(+) create mode 100644 .env.example 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