The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Merge branch 'master' into master
Copplebc9992ff15a8
diff --cc docker/.env.exampleindex f845e7bda6c,5a7d3c0da24..3412b1edaac--- a/docker/.env.example+++ b/docker/.env.example@@@ -6,7 -8,26 +8,35 @@@ JWT_SECRET=your-super-secret-jwt-token-ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GESERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJzZXJ2aWNlX3JvbGUiLAogICAgImlzcyI6ICJzdXBhYmFzZS1kZW1vIiwKICAgICJpYXQiOiAxNjQxNzY5MjAwLAogICAgImV4cCI6IDE3OTk1MzU2MDAKfQ.DaYlNEoUrrEn2Ig7tqibS-PHK5vgusbcbo7X36XVt4Q- # Auth+++ ############+ # 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.+ ############## GeneralSITE_URL=http://localhost:3000@@@ -27,20 -46,12 +55,13 @@@ SMTP_PASS=fake_mail_passworSMTP_SENDER_NAME=fake_sender## Phone auth- ENABLE_PHONE_SIGNUP=false- ENABLE_PHONE_AUTOCONFIRM=false+ ENABLE_PHONE_SIGNUP=true+ ENABLE_PHONE_AUTOCONFIRM=true- # API config- PGRST_DB_SCHEMAS=public,storage+- # Ports+ ############+ # Studio - Configuration for the Dashboard+ ############- ## Studio portSTUDIO_PORT=3000-- ## API endpoint ports- KONG_HTTP_PORT=8000- KONG_HTTPS_PORT=8443-- ## DB port- POSTGRES_PORT=5432+ PUBLIC_REST_URL=http://localhost:8000/rest/v1/ # replace if you intend to use Studio outside of localhostdiff --cc docker/docker-compose.ymlindex 68640454f07,b62db854bfd..f1f5c5fb9e6--- a/docker/docker-compose.yml+++ b/docker/docker-compose.yml@@@ -76,11 -81,11 +81,11 @@@ servicescontainer_name: supabase-restimage: postgrest/postgrest:v9.0.0depends_on:- - db+ - db # Disable this if you are using an external Postgres databaserestart: unless-stoppedenvironment:- PGRST_DB_URI: postgres://postgres:${POSTGRES_PASSWORD}@db:5432/postgres+ PGRST_DB_URI: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}- PGRST_DB_SCHEMAS: public,storage, graphql_public+ PGRST_DB_SCHEMAS: ${PGRST_DB_SCHEMAS}PGRST_DB_ANON_ROLE: anonPGRST_JWT_SECRET: ${JWT_SECRET}PGRST_DB_USE_LEGACY_GUCS: "false"