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 docs/updates_on_a_plane
Copple2a660b04b321
diff --cc apps/docs/pages/guides/self-hosting/docker.mdxindex 68cb792dd88,359343d08b1..c49da5de2bc--- a/apps/docs/pages/guides/self-hosting/docker.mdx+++ b/apps/docs/pages/guides/self-hosting/docker.mdx@@@ -247,9 -178,9 +247,9 @@@ SMTP_SENDER_NAMEWe recommend using [AWS SES](https://aws.amazon.com/ses/). It's extremely cheap and reliable. Restart all services to pick up the new configuration.-### Configuring S3 Storage+#### Configuring S3 Storage- By default all files are stored locally on the server. You can connfigure the Storage service to use S3 by updating the following environment variables:+ By default all files are stored locally on the server. You can configure the Storage service to use S3 by updating the following environment variables:```yaml docker-compose.ymlstorage:@@@ -285,25 -216,28 +285,46 @@@ By default, Storage backend is set to `Additional configuration is required for self-hosting the Analytics server. For the full setup instructions, see [Self Hosting Analytics](https://supabase.com/docs/reference/self-hosting-analytics/introduction#getting-started).+ ### Upgrading Analytics++ Due to the changes in the Analytics server, you will need to run the following commands to upgrade your Analytics server:++ <Admonition type="warning">++ - All data in analytics will be deleted when you run the commands below.++ </Admonition>+++ ```sh+ ### Destroy analytics to transition to postgres self hosted solution without other data loss++ # Enter the container and use your .env POSTGRES_PASSWORD value to login+ docker exec -it $(docker ps | grep supabase-db | awk '{print $1}') psql -U supabase_admin --password+ # Drop all the data in the _analytics schema+ DROP PUBLICATION logflare_pub; DROP SCHEMA _analytics CASCADE; CREATE SCHEMA _analytics;\q+ # Drop the analytics container+ docker rm supabase-db+ ```+---++{/* Finish with a video. This also appears in the Sidebar via the "tocVideo" metadata */}++## Demo++A minimal setup working on Ubuntu, hosted on Digital Ocean.+++<div className="video-container">+ <iframe+ src="https://www.youtube-nocookie.com/embed/FqiQKRKsfZE"+ frameBorder="1"+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"+ allowFullScreen+ ></iframe>+</div>+export const Page = ({ children }) => <Layout meta={meta} children={children} />export default Page