diff options
| author | ertopogo <erwin.t.pombett@gmail.com> | 2026-01-18 22:25:26 +0100 |
|---|---|---|
| committer | ertopogo <erwin.t.pombett@gmail.com> | 2026-01-18 22:25:26 +0100 |
| commit | e01100156ffddfb4975e1aa7518744c2f0e3801a (patch) | |
| tree | 9d890d885535ba427310dc21aef0cdd53584bc08 /env- | |
| parent | 532e8b5726595500b06e48b47d6cd4e1bbfe3618 (diff) | |
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.
Diffstat (limited to 'env-')
| -rw-r--r-- | env- | 35 |
1 files changed, 0 insertions, 35 deletions
@@ -1,35 +0,0 @@ -# --------------------------------------------------------
-# CONFIGURATION DE LA BASE DE DONNEES
-# Remplacez <user>, <password>, <host> 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=
-
|
