MIF_E31221222/sigap-mobile/.env.example

55 lines
2.3 KiB
Plaintext

# Update these with your Supabase details from your project settings > API
# https://app.supabase.com/project/_/settings/api
# # Supabase Production URL
SUPABASE_URL=https://your-project-ref.supabase.co
SUPABASE_ANON_KEY=your_supabase_anon_key_here
SERVICE_ROLE_SECRET=your_service_role_secret_here
SUPABASE_STORAGE_URL="https://your-storage-project-ref.supabase.co/storage/v1/object/public"
# Connect to Supabase via connection pooling
DATABASE_URL="postgresql://postgres.your-project-ref:your-password@aws-0-ap-southeast-1.pooler.supabase.com:6543/postgres?pgbouncer=true"
# Direct connection to the database. Used for migrations
DIRECT_URL="postgresql://postgres.your-project-ref:your-password@aws-0-ap-southeast-1.pooler.supabase.com:5432/postgres"
# Supabase Local URL (uncomment for local development)
# SUPABASE_URL=http://192.168.1.8:54321
# SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
# SERVICE_ROLE_SECRET=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU
# DATABASE_URL="postgresql://postgres:postgres@127.0.0.1:54322/postgres"
# DIRECT_URL="postgresql://postgres:postgres@127.0.0.1:54322/postgres"
# Resend API Key for email services
# RESEND_API_KEY_TEST="your_test_resend_api_key"
RESEND_API_KEY="your_resend_api_key"
SEND_EMAIL_HOOK_SECRET="your_send_email_hook_secret"
# db connection string
# Connect to Supabase via connection pooling with Supavisor.
# Direct connection to the database. Used for migrations.
# DIRECT_URL="postgresql://prisma.your-project-ref:prisma@aws-0-ap-southeast-1.pooler.supabase.com:5432/postgres"
DENO_ENV=development
# Mapbox configuration
MAPBOX_ACCESS_TOKEN=your_mapbox_access_token
MAPBOX_TILESET_ID=your_mapbox_tileset_id
NODE_ENV=development
# Azure AI API
AZURE_RESOURCE_NAME="your_azure_resource_name"
AZURE_FACE_RESOURCE_NAME="your_azure_face_resource_name"
AZURE_SUBSCRIPTION_KEY="your_azure_subscription_key"
AZURE_FACE_SUBSCRIPTION_KEY="your_azure_face_subscription_key"
# AWS Rekognition
AWS_RK_REGION=ap-southeast-1
AWS_RK_ACCESS_KEY=your_aws_access_key
AWS_RK_SECRET_KEY=your_aws_secret_key