The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(docs): add recommended docker settings for mac and windows (#28159)
Han Qiao8959a5656ae8
diff --git a/apps/docs/content/guides/cli/getting-started.mdx b/apps/docs/content/guides/cli/getting-started.mdxindex ff4f86a2e82..f653542e83f 100644--- a/apps/docs/content/guides/cli/getting-started.mdx+++ b/apps/docs/content/guides/cli/getting-started.mdx@@ -145,7 +145,26 @@ supabase startThe Supabase CLI uses Docker containers to manage the local development stack. To get started,-- Install [Docker Desktop](https://docs.docker.com/desktop)+- Install [Docker Desktop](https://docs.docker.com/desktop) and apply the following configurations++<Tabs+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="macos"+ queryGroup="platform"+>+<TabPanel id="macos" label="macOS">++++</TabPanel>+<TabPanel id="windows" label="Windows">++++</TabPanel>+</Tabs>Inside the folder where you want to create your project, run:diff --git a/apps/docs/content/guides/cli/local-development.mdx b/apps/docs/content/guides/cli/local-development.mdxindex 3aa9a9fa7dc..3846335c3e3 100644--- a/apps/docs/content/guides/cli/local-development.mdx+++ b/apps/docs/content/guides/cli/local-development.mdx@@ -461,17 +461,7 @@ The buckets and objects themselves are rows in the storage schema so they won't### Local logging-Local logs rely on the Supabase Analytics Server, and are not enabled by default. To enable this, edit your `supabase/config.toml` file and set `enabled` to `true`.--```bash supabase/config.toml-[analytics]-# Set enabled to true to see logs in the Logs Explorer-enabled = true-port = 54327-vector_port = 54328-# Configure one of the supported backends: `postgres`, `bigquery`.-backend = "postgres"-```+Local logs rely on the Supabase Analytics Server which accesses the docker logging driver by either volume mounting `/var/run/docker.sock` domain socket on Linux and macOS, or exposing `tcp://localhost:2375` daemon socket on Windows. These settings must be configured manually after [installing](/docs/guides/cli/getting-started#installing-the-supabase-cli) the Supabase CLI.<Admonition type="note">@@ -479,7 +469,7 @@ For advanced logs analysis using the Logs Explorer, it is advised to use the Big</Admonition>-Logs will be directed to the Analytics server instead of the docker logging driver. All logs will be stored in the local database under the `_analytics` schema.+All logs will be stored in the local database under the `_analytics` schema.## Limitations and considerationsdiff --git a/apps/docs/public/img/guides/cli/docker-mac-light.png b/apps/docs/public/img/guides/cli/docker-mac-light.pngnew file mode 100644index 00000000000..ca0c3f88543Binary files /dev/null and b/apps/docs/public/img/guides/cli/docker-mac-light.png differdiff --git a/apps/docs/public/img/guides/cli/docker-mac.png b/apps/docs/public/img/guides/cli/docker-mac.pngnew file mode 100644index 00000000000..733eada80a1Binary files /dev/null and b/apps/docs/public/img/guides/cli/docker-mac.png differdiff --git a/apps/docs/public/img/guides/cli/docker-win-light.png b/apps/docs/public/img/guides/cli/docker-win-light.pngnew file mode 100644index 00000000000..13778f64577Binary files /dev/null and b/apps/docs/public/img/guides/cli/docker-win-light.png differdiff --git a/apps/docs/public/img/guides/cli/docker-win.png b/apps/docs/public/img/guides/cli/docker-win.pngnew file mode 100644index 00000000000..9a2b389deb3Binary files /dev/null and b/apps/docs/public/img/guides/cli/docker-win.png differ