QR d'inscription, lien de la carte (e-mail, Apple Wallet, Google Wallet) utilisent WEB_URL ; repli sur PUBLIC_URL si absent. Vhost nginx du site vitrine documenté pour transmettre /c, /carte, /api/public à l'API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
995 B
Text
34 lines
995 B
Text
NODE_ENV=development
|
|
PORT=3100
|
|
TZ=Europe/Paris
|
|
DATABASE_URL="mysql://mep:CHANGE_ME@localhost:3306/mep"
|
|
JWT_ACCESS_SECRET=dev-access-secret
|
|
JWT_REFRESH_SECRET=dev-refresh-secret
|
|
CORS_ORIGINS=http://localhost:5173
|
|
SEED_ADMIN_EMAIL=
|
|
SEED_ADMIN_PASSWORD=
|
|
|
|
# URL publique de l'API (QR d'inscription, liens e-mail, images Google Wallet) — HTTPS en production
|
|
# Production : PUBLIC_URL=https://api.monespacepro.eu (sous-domaine à confirmer)
|
|
PUBLIC_URL=http://localhost:3100
|
|
# Adresse des pages clients (/c/…, /carte/…). Production : WEB_URL=https://monespacepro.eu
|
|
WEB_URL=
|
|
|
|
# Apple Wallet — fichiers PEM hors du dépôt (voir docs/wallet.md)
|
|
APPLE_PASS_TYPE_ID=
|
|
APPLE_TEAM_ID=
|
|
APPLE_SIGNER_CERT=
|
|
APPLE_SIGNER_KEY=
|
|
APPLE_SIGNER_KEY_PASSPHRASE=
|
|
APPLE_WWDR_CERT=
|
|
|
|
# Google Wallet
|
|
GOOGLE_WALLET_ISSUER_ID=
|
|
GOOGLE_WALLET_SA_FILE=
|
|
|
|
# E-mails (sans SMTP_HOST, les e-mails sont écrits dans les logs)
|
|
SMTP_HOST=
|
|
SMTP_PORT=587
|
|
SMTP_USER=
|
|
SMTP_PASS=
|
|
MAIL_FROM="MonEspacePro <no-reply@monespacepro.eu>"
|