From d2e2db1eae8f0ab365db5f60ed6ed3098e5f552a Mon Sep 17 00:00:00 2001 From: Paul Copplestone Date: Thu, 22 Apr 2021 09:45:12 +0800 Subject: [PATCH] fix: #1227. Adds important notice to update passwords for self hosting --- web/docs/guides/self-hosting.mdx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/web/docs/guides/self-hosting.mdx b/web/docs/guides/self-hosting.mdx index a07357c39c7..e8ecc2c4256 100644 --- a/web/docs/guides/self-hosting.mdx +++ b/web/docs/guides/self-hosting.mdx @@ -80,6 +80,24 @@ Now that you have the Docker set up on your local machine, you can start it here docker-compose up ``` +**Important** + +Make sure you update the default passwords and secrets before running in Production: + +- Postgres + - [POSTGRES_PASSWORD](https://github.com/supabase/supabase/blob/3efd909fe86dd3540195b85054b611f3aa1d0de6/docker/docker-compose.yml#L80) +- Realtime + - [DB_PASSWORD](https://github.com/supabase/supabase/blob/3efd909fe86dd3540195b85054b611f3aa1d0de6/docker/docker-compose.yml#L60) + - [JWT_SECRET](https://github.com/supabase/supabase/blob/3efd909fe86dd3540195b85054b611f3aa1d0de6/docker/docker-compose.yml#L66) +- PostgREST + - [PGRST_DB_URI](https://github.com/supabase/supabase/blob/3efd909fe86dd3540195b85054b611f3aa1d0de6/docker/docker-compose.yml#L44) + - [PGRST_JWT_SECRET](https://github.com/supabase/supabase/blob/3efd909fe86dd3540195b85054b611f3aa1d0de6/docker/docker-compose.yml#L47) +- GoTrue + - [DATABASE_URL](https://github.com/supabase/supabase/blob/3efd909fe86dd3540195b85054b611f3aa1d0de6/docker/docker-compose.yml#L32) + - [GOTRUE_OPERATOR_TOKEN](https://github.com/supabase/supabase/blob/3efd909fe86dd3540195b85054b611f3aa1d0de6/docker/docker-compose.yml#L31) + - [GOTRUE_JWT_SECRET](https://github.com/supabase/supabase/blob/3efd909fe86dd3540195b85054b611f3aa1d0de6/docker/docker-compose.yml#L19) + - [GOTRUE_JWT_SECRET](https://github.com/supabase/supabase/blob/3efd909fe86dd3540195b85054b611f3aa1d0de6/docker/docker-compose.yml#L19) + ## Configuring each service Supabase is made up of several services. We have prefilled the `docker-compose` file with all the configuration you need to get started.