From a6260fd18bafe10df70b6ea1dc43179598a0b3f9 Mon Sep 17 00:00:00 2001 From: Catalin Pit <25515812+catalinpit@users.noreply.github.com> Date: Wed, 24 Jul 2024 11:01:39 +0300 Subject: [PATCH] fix: update env variables step --- .../pages/developers/self-hosting/how-to.mdx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/documentation/pages/developers/self-hosting/how-to.mdx b/apps/documentation/pages/developers/self-hosting/how-to.mdx index 2acbf9abb..f0f0c56fe 100644 --- a/apps/documentation/pages/developers/self-hosting/how-to.mdx +++ b/apps/documentation/pages/developers/self-hosting/how-to.mdx @@ -103,12 +103,16 @@ Once downloaded, navigate to the directory containing the `compose.yml` file. ### Set Up Environment Variables -Create a `.env` file in the same directory as the `compose.yml` file. +Create a `.env` file from the [`.env.example` file](https://github.com/documenso/documenso/blob/main/.env.example) and place it in the same directory as the `compose.yml` file. -Then add your SMTP details as well as the following environment variables: +Make sure to set up the required environment variables: ```bash +POSTGRES_USER= +POSTGRES_PASSWORD= +POSTGRES_DB= NEXTAUTH_SECRET="" +NEXT_PRIVATE_DATABASE_URL="postgres://:@/" NEXT_PRIVATE_ENCRYPTION_KEY="" NEXT_PRIVATE_ENCRYPTION_SECONDARY_KEY="" NEXT_PUBLIC_WEBAPP_URL=""