Files
korrithwebsite/apps/api/.env.example
T

20 lines
619 B
Bash

# API environment — copy to apps/api/.env for local development.
PORT=3001
CORS_ORIGIN=*
# PocketBase runs on localhost:8090 (fixed). In docker-compose the API reaches
# it automatically via a loopback forwarder — no configuration needed.
PB_SUPERUSER_EMAIL=admin@example.com
PB_SUPERUSER_PASSWORD=change-me-strong-password
# SMTP (assessment confirmation + admin notification emails)
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=smtp@example.com
SMTP_PASSWORD=change-me
# Optional overrides
# MAIL_FROM=smtp@example.com
# MAIL_REPLY_TO=noreply@example.com
# ADMIN_EMAILS=hello@example.com,ops@example.com