Files
mercadodevida/project/.env.example
2026-08-21 07:29:07 +02:00

23 lines
938 B
Plaintext

# Copy to .env for local development. Real .env is gitignored.
# Matches docker-compose.yml dev credentials (dev-only, never reuse elsewhere).
DATABASE_URL=postgres://mdv:mdv_dev_only@localhost:5432/mercadodevida
TEST_DATABASE_URL=postgres://mdv:mdv_dev_only@localhost:5432/mercadodevida_test
REDIS_URL=redis://localhost:6379
# Feature flags: FLAG_<NAME>=true|false (parsed into the flag store at boot).
# Unknown flags default to OFF. Flags can be flipped at runtime via the store.
FLAG_EXAMPLE_FEATURE=false
# Session cookie Secure flag. Defaults to true (production-safe); set false only
# for local http development where browsers reject Secure cookies.
COOKIE_SECURE=false
# Password-reset SMTP (OVH example for mercadodevida.es)
PUBLIC_APP_URL=https://mercadodevida.es
SMTP_HOST=ssl0.ovh.net
SMTP_PORT=465
SMTP_SECURE=true
SMTP_USER=info@mercadodevida.es
SMTP_FROM=info@mercadodevida.es
# SMTP_PASS=replace-with-mailbox-password