blob: db0ede76e729151de69c3d2a929ae25fa6adeb36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# --------------------------------------------------------
# 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@192.168.99.35: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=
ssh toshiro@chillka "ls -la /var/data/git/repositories/lucien-sens-bon.git"
ssh toshiro@chillka "git --git-dir=/var/data/git/repositories/lucien-sens-bon.git rev-parse --is-bare-repository"
|