The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
better tone
Copplebe52927357cd
diff --git a/apps/docs/pages/guides/self-hosting/docker.mdx b/apps/docs/pages/guides/self-hosting/docker.mdxindex 03f0c9c09f2..74fec3215bb 100644--- a/apps/docs/pages/guides/self-hosting/docker.mdx+++ b/apps/docs/pages/guides/self-hosting/docker.mdx@@ -30,24 +30,24 @@ cp .env.example .envdocker compose up```-Now visit [http://localhost:3000](http://localhost:3000) to start using Supabase Studio.+Now visit [localhost:3000](http://localhost:3000) to start using Supabase Studio.-That's everything you need to get started. The rest of this guide will focus on customizing your setup.+That's everything you need to get started. The rest of this guide will help you to customize your setup.-## Customizing your setup+## Securing your setupWhile we provided you with some example secrets for getting started, you should NEVER deploy your Supabase setup using the defaults we have provided.-We strongly recommend using a [secrets manager](../self-hosting#managing-your-secrets) when deploying to production, rather than using an `.env` file.-### Generate API KeysCreate a new `JWT_SECRET` and store it securely.-Now we can use it to generate a `anon` and `service` API keys by updating the "JWT Secret" and then running "Generate JWT" once for the `SERVICE_KEY` and once for the `ANON_KEY`:+We can use your JWT Secret to generate new `anon` and `service` API keys using the form below. Update the "JWT Secret" and then run "Generate JWT" once for the `SERVICE_KEY` and once for the `ANON_KEY`:<JwtGenerator />+### Update API Keys+Replace the values in these files:- `.env`:@@ -66,7 +66,6 @@ Update the `.env` file with your own secrets. In particular, these are required:- `SITE_URL`: the base URL of your site.- `SMTP_*`: mail server credentials. You can use any SMTP server.-## Exposing servicesThe services running on the machine are not exposed to the internet by default. We recommend using a reverse proxy such as [NGINX](https://www.nginx.com/) or [Caddy](https://caddyserver.com/) if you want to expose the services publicly:@@ -135,11 +134,6 @@ However, you might miss important log messages such as database errors. ConfigurBy default, Storage backend is set to `file`, which is to use local files as the storage backend. To make it work on macOS, you need to choose `VirtioFS` as the Docker container file sharing implementation (in Docker Desktop -> Preferences -> General).-## Next steps--- Got a question? [Ask here](https://github.com/supabase/supabase/discussions).-- Sign in: [app.supabase.com](https://app.supabase.com)-export const Page = ({ children }) => <Layout meta={meta} children={children} />export default Page