DailyRA / env.example
bivav's picture
Refactor database connection to use Supabase DB and Enhance project structure
f0435c4
# Supabase PostgreSQL Connection Details
# Copy this file to .env and fill in your actual values
# Example connection string from Supabase:
# postgresql://postgres.PROJECT_REF:[PASSWORD]@aws-0-region.pooler.supabase.com:5432/postgres
# Database host (get from Supabase project settings)
HOST=aws-1-ap-northeast-1.pooler.supabase.com
# Database port (default is 5432 for PostgreSQL)
PORT=5432
# Database name (usually 'postgres' for Supabase)
DATABASE=postgres
# Username - IMPORTANT: Use the FULL format from Supabase
# Format: postgres.YOUR_PROJECT_REF (e.g., postgres.vvkubjwatpdqnkmgmntf)
# This is a SINGLE username, not two separate parts!
USERNAME=postgres.vvkubjwatpdqnkmgmntf
# Your database password (from Supabase project settings)
PASSWORD=your-password-here