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=""