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-example | |
| 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-example')
| -rw-r--r-- | env-example | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/env-example b/env-example index bed7b21..c8e63b7 100644 --- a/env-example +++ b/env-example @@ -3,7 +3,7 @@ # 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
+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)
|
