rebours/.env.example

28 lines
1.7 KiB
Plaintext

# ── Stripe ────────────────────────────────────────────────────────────────────
# Clé secrète Stripe (test: sk_test_... / prod: sk_live_...)
STRIPE_SECRET_KEY=sk_test_...
# Secret webhook (obtenu via: stripe listen --print-secret)
STRIPE_WEBHOOK_SECRET=whsec_...
# ── App ───────────────────────────────────────────────────────────────────────
# URL publique du site (sans slash final)
DOMAIN=https://rebours.studio
# Port du serveur Fastify (dev: 8888, prod: 3000)
PORT=3000
# ── Database ──────────────────────────────────────────────────────────────────
# PostgreSQL connection string
# Dev: postgresql://rebours:rebours@localhost:5432/rebours
# Prod: postgresql://rebours:PASSWORD@postgres:5432/rebours (Coolify internal)
DATABASE_URL=postgresql://rebours:rebours@localhost:5432/rebours
# ── Admin ─────────────────────────────────────────────────────────────────────
# Email et mot de passe du compte admin (utilisé par le seed)
ADMIN_EMAIL=admin@rebours.studio
ADMIN_PASSWORD=changeme
# Secret pour les cookies de session AdminJS (min 32 caractères)
COOKIE_SECRET=change-me-to-a-random-string-at-least-32-chars