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-example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'env-example') diff --git a/env-example b/env-example index bed7b21..c8e63b7 100644 --- a/env-example +++ b/env-example @@ -3,7 +3,7 @@ # 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 +DATABASE_URL=postgres://luciensbdb:VOTRE_MOT_DE_PASSE_DB@192.168.99.35:5432/sens_bon_db # -------------------------------------------------------- # CLES DE SECURITE @@ -18,14 +18,14 @@ COOKIE_SECRET=supersecret # -------------------------------------------------------- # URL du Backend (API) accessible par le navigateur -NEXT_PUBLIC_MEDUSA_BACKEND_URL=http://localhost:9000 +NEXT_PUBLIC_MEDUSA_BACKEND_URL=http://api.lsb.huitral.ruka.lan # CORS Admin : Quels domaines peuvent accéder à l'admin ? -ADMIN_CORS=http://localhost:7000,http://localhost:7001 +ADMIN_CORS=http://api.lsb.huitral.ruka.lan # CORS Store : Quels domaines (le frontend) peuvent accéder à l'API ? # En production, ce sera https://monsite.com -STORE_CORS=http://localhost:8000 +STORE_CORS=http://www.lsb.huitral.ruka.lan # -------------------------------------------------------- # PAIEMENTS (Optionnel) -- cgit v1.2.3