|
|
|
############
|
|
|
|
# Secrets
|
|
|
|
# YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION
|
|
|
|
############
|
|
|
|
|
|
|
|
POSTGRES_PASSWORD=
|
|
|
|
JWT_SECRET=
|
|
|
|
ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ewogICAgInJvbGUiOiAiYW5vbiIsCiAgICAiaXNzIjogInN1cGFiYXNlIiwKICAgICJpYXQiOiAxNjc0ODI0NDAwLAogICAgImV4cCI6IDE4MzI1OTA4MDAKfQ.GjK9HIRUaMB0LZiIXD-qvfKSgZwHUsmLlo6qItGRrx0
|
|
|
|
SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ewogICAgInJvbGUiOiAic2VydmljZV9yb2xlIiwKICAgICJpc3MiOiAic3VwYWJhc2UiLAogICAgImlhdCI6IDE2NzQ4MjQ0MDAsCiAgICAiZXhwIjogMTgzMjU5MDgwMAp9.8H6IJnWB4kmhKMpRSVQPIaPs1WWOsF_FStCPOxFG-Sk
|
|
|
|
|
|
|
|
|
|
|
|
############
|
|
|
|
# Database - You can change these to any PostgreSQL database that has logical replication enabled.
|
|
|
|
############
|
|
|
|
|
|
|
|
POSTGRES_HOST=db
|
|
|
|
POSTGRES_DB=postgres
|
|
|
|
POSTGRES_USER=postgres
|
|
|
|
POSTGRES_PORT=5432
|
|
|
|
|
|
|
|
|
|
|
|
############
|
|
|
|
# API Proxy - Configuration for the Kong Reverse proxy.
|
|
|
|
############
|
|
|
|
|
|
|
|
KONG_HTTP_PORT=8000
|
|
|
|
KONG_HTTPS_PORT=8443
|
|
|
|
|
|
|
|
|
|
|
|
############
|
|
|
|
# API - Configuration for PostgREST.
|
|
|
|
############
|
|
|
|
|
|
|
|
PGRST_DB_SCHEMAS=public,storage,graphql_public
|
|
|
|
|
|
|
|
|
|
|
|
############
|
|
|
|
# Auth - Configuration for the GoTrue authentication server.
|
|
|
|
############
|
|
|
|
|
|
|
|
## General
|
|
|
|
SITE_URL=http://localhost:3000
|
|
|
|
ADDITIONAL_REDIRECT_URLS=
|
|
|
|
JWT_EXPIRY=3600
|
|
|
|
DISABLE_SIGNUP=false
|
|
|
|
API_EXTERNAL_URL=http://localhost:8000
|
|
|
|
|
|
|
|
## Mailer Config
|
|
|
|
MAILER_URLPATHS_CONFIRMATION="/auth/v1/verify"
|
|
|
|
MAILER_URLPATHS_INVITE="/auth/v1/verify"
|
|
|
|
MAILER_URLPATHS_RECOVERY="/auth/v1/verify"
|
|
|
|
MAILER_URLPATHS_EMAIL_CHANGE="/auth/v1/verify"
|
|
|
|
|
|
|
|
## Email auth
|
|
|
|
ENABLE_EMAIL_SIGNUP=true
|
|
|
|
ENABLE_EMAIL_AUTOCONFIRM=false
|
|
|
|
SMTP_ADMIN_EMAIL=
|
|
|
|
SMTP_HOST=
|
|
|
|
SMTP_PORT=
|
|
|
|
SMTP_USER=
|
|
|
|
SMTP_PASS=
|
|
|
|
SMTP_SENDER_NAME=
|
|
|
|
|
|
|
|
## Phone auth
|
|
|
|
ENABLE_PHONE_SIGNUP=false
|
|
|
|
ENABLE_PHONE_AUTOCONFIRM=false
|
|
|
|
|
|
|
|
|
|
|
|
############
|
|
|
|
# Studio - Configuration for the Dashboard
|
|
|
|
############
|
|
|
|
|
|
|
|
STUDIO_DEFAULT_ORGANIZATION=app.jaredtsmith.com
|
|
|
|
STUDIO_DEFAULT_PROJECT=app.jaredtsmith.com
|
|
|
|
|
|
|
|
STUDIO_PORT=3000
|
|
|
|
# replace if you intend to use Studio outside of localhost
|
|
|
|
SUPABASE_PUBLIC_URL=https://app.jaredtsmith.com
|