# Viewer frontend env (copy to ".env" and edit values)

# Prisma DB URLs (note: no "+psycopg2" here)
DATABASE_URL=postgresql://punimtag:CHANGE_ME@127.0.0.1:5432/punimtag
DATABASE_URL_AUTH=postgresql://punimtag_auth:CHANGE_ME@127.0.0.1:5432/punimtag_auth


# NextAuth
NEXTAUTH_URL=http://127.0.0.1:3001
NEXTAUTH_SECRET=CHANGE_ME_TO_A_LONG_RANDOM_STRING
AUTH_URL=http://127.0.0.1:3001

# Email provider (smtp or resend)
EMAIL_PROVIDER=smtp

# SMTP (primary)
SMTP_HOST=mail.your-domain.com
SMTP_PORT=465
SMTP_SECURE=true
SMTP_USER=mailer@your-domain.com
SMTP_PASS=CHANGE_ME
SMTP_FROM_EMAIL=noreply@your-domain.com
SMTP_FROM_NAME=PunimTag
SMTP_REPLY_TO=support@your-domain.com

# Resend (fallback)
RESEND_API_KEY=CHANGE_ME_secret-key
RESEND_FROM_EMAIL="onboarding@resend.dev"
RESEND_FROM_NAME=PunimTag
RESEND_REPLY_TO=support@your-domain.com
UPLOAD_DIR="/mnt/db-server-uploads/pending-photos"
