From 47da19186c67d02f9d60628502f28d2413832437 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sun, 2 Aug 2026 05:58:44 +0500 Subject: [PATCH] update env example --- .env.example | 45 +++++++++++++++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/.env.example b/.env.example index ef166ac..c861e53 100644 --- a/.env.example +++ b/.env.example @@ -1,23 +1,40 @@ -# next auth +# ============================================================================= +# NextAuth (next-auth v4) +# ============================================================================= NEXTAUTH_SECRET="" -NEXTAUTH_URL="" -## Portal API -SARLINK_API_BASE_URL="" +# Canonical site URL. Dev: http://localhost:3000 +NEXTAUTH_URL="http://localhost:3000" +# ============================================================================= +# Portal API (Django backend) +# Server-side calls over the compose network. Dev: http://backend:5000 +# ============================================================================= +SARLINK_API_BASE_URL="http://backend:5000" -## MIB Payments -PAYMENT_VERIFY_BASE_URL="" +# ============================================================================= +# ID / person verification — {PERSON_VERIFY_BASE_URL}/api/person/{id_card} +# ============================================================================= +PERSON_VERIFY_BASE_URL="" -## People -PEOPLE_API_URL="" - -## SMS -SMS_API_URL="" +# ============================================================================= +# SMS gateway — OTP + notifications +# ============================================================================= +SMS_API_BASE_URL="" SMS_API_KEY="" -## omada +# ============================================================================= +# Omada (TP-Link) proxy — device access control +# ============================================================================= OMADA_BASE_URL="" -OMADA_SITE_ID= -OMADA_GROUP_ID= +OMADA_SITE_ID="" OMADA_PROXY_API_KEY="" +# ============================================================================= +# Invoice Ninja — finance/clients integration +# ============================================================================= +NINJA_API_KEY="" + +# ============================================================================= +# Cron — shared secret that protects the /api/check-devices route +# ============================================================================= +CRON_API_KEY=""