From e01100156ffddfb4975e1aa7518744c2f0e3801a Mon Sep 17 00:00:00 2001 From: ertopogo Date: Sun, 18 Jan 2026 22:25:26 +0100 Subject: Refactor environment variables and enhance installation documentation. Updated DATABASE_URL, NEXT_PUBLIC_MEDUSA_BACKEND_URL, ADMIN_CORS, and STORE_CORS to align with the revised internal DNS structure. Included additional guidelines for DNS nomenclature and clarified Git deployment instructions in INSTALLATION.md. --- env- | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 env- (limited to 'env-') diff --git a/env- b/env- deleted file mode 100644 index bed7b21..0000000 --- a/env- +++ /dev/null @@ -1,35 +0,0 @@ -# -------------------------------------------------------- -# CONFIGURATION DE LA BASE DE DONNEES -# Remplacez , , par vos vraies infos -# Si Postgres est sur la machine hôte et pas dans Docker, utilisez l'IP locale ou host.docker.internal -# -------------------------------------------------------- -DATABASE_URL=postgres://postgres:password@host.docker.internal:5432/medusa_db - -# -------------------------------------------------------- -# CLES DE SECURITE -# Générez des clés aléatoires complexes pour la production -# -------------------------------------------------------- -JWT_SECRET=supersecret -COOKIE_SECRET=supersecret - -# -------------------------------------------------------- -# CONFIGURATION DES URLS -# Pour la production, mettez vos vrais domaines (ex: https://api.monsite.com) -# -------------------------------------------------------- - -# URL du Backend (API) accessible par le navigateur -NEXT_PUBLIC_MEDUSA_BACKEND_URL=http://localhost:9000 - -# CORS Admin : Quels domaines peuvent accéder à l'admin ? -ADMIN_CORS=http://localhost:7000,http://localhost:7001 - -# CORS Store : Quels domaines (le frontend) peuvent accéder à l'API ? -# En production, ce sera https://monsite.com -STORE_CORS=http://localhost:8000 - -# -------------------------------------------------------- -# PAIEMENTS (Optionnel) -# -------------------------------------------------------- -STRIPE_API_KEY= -STRIPE_WEBHOOK_SECRET= - -- cgit v1.2.3