27 lines
697 B
Plaintext
27 lines
697 B
Plaintext
# Fichier: .env.example
|
|
# Copier ce fichier vers .env et adapter les valeurs selon votre environnement
|
|
|
|
# Configuration de la base de données PostgreSQL
|
|
POSTGRES_HOST=postgres
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_USER=admin
|
|
POSTGRES_PASSWORD=admin123
|
|
POSTGRES_DB=ptitpas_db
|
|
|
|
# Configuration PgAdmin (accessible sur http://localhost:8080)
|
|
PGADMIN_DEFAULT_EMAIL=admin@localhost
|
|
PGADMIN_DEFAULT_PASSWORD=admin123
|
|
|
|
# Configuration de l'API
|
|
API_PORT=3000
|
|
|
|
# Secrets pour l'authentification JWT
|
|
JWT_SECRET=dev-jwt-secret-key-change-me
|
|
JWT_EXPIRATION_TIME=7d
|
|
|
|
# Environnement
|
|
NODE_ENV=development
|
|
|
|
# Log de chaque appel API (mode debug) — mettre à true pour tracer les requêtes front
|
|
# LOG_API_REQUESTS=true
|