From b4c3ac42d55f4704f111573d4ea55133872b85b8 Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Tue, 25 Apr 2023 14:43:33 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20configuration=20options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../self-hosting/configuration-options.mdx | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/apps/docs/self-hosting/configuration-options.mdx b/apps/docs/self-hosting/configuration-options.mdx index e7805209ced..6e695ccd425 100644 --- a/apps/docs/self-hosting/configuration-options.mdx +++ b/apps/docs/self-hosting/configuration-options.mdx @@ -7,18 +7,19 @@ description: Using environment variable to configure a self-hosted instance of R Rallly can be configured with the following environment variables. -| Environment Variable | Default | Description | -| ---------------------- | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `ALLOWED_EMAILS` | | Comma separated list of email addresses that are allowed to register and login. Wildcard characters are supported. Example: `*@yourcompany.com` | -| `AUTH_REQUIRED` | false | Set to `true` to require authentication for creating new polls and accessing admin pages | -| `DATABASE_URL` | | Postgres database connection string | -| `DISABLE_LANDING_PAGE` | false | Whether or not to disable the landing page | -| `NEXT_PUBLIC_BASE_URL` | http://localhost:3000 | The base url where this instance is accessible, including the scheme (eg. `http://` or `https://`), the domain name, and optionally a port. | -| `SECRET_PASSWORD` | | A random 32-character secret key used to encrypt user sessions | -| `SMTP_HOST` | localhost | The host address of your SMTP server | -| `SMTP_PORT` | 25 or 465 | The port of your SMTP server | -| `SMTP_SECURE` | false | Set to "true" if SSL is enabled for your SMTP connection | -| `SMTP_USER` | | The username (if auth is enabled on your SMTP server) | -| `SMTP_PWD` | | The password (if auth is enabled on your SMTP server) | -| `SMTP_TLS_ENABLED` | false | Enable TLS for your SMTP connection | -| `SUPPORT_EMAIL` | | All outgoing emails will show this email as the sender's email address, which also serves as the support email. | +| Environment Variable | Default | Description | +| ---------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `ALLOWED_EMAILS` | | Comma separated list of email addresses that are allowed to register and login. Wildcard characters are supported. Example: `*@yourcompany.com` | +| `AUTH_REQUIRED` | false | Set to `true` to require authentication for creating new polls and accessing admin pages | +| `DATABASE_URL` | | Postgres database connection string | +| `DISABLE_LANDING_PAGE` | false | Whether or not to disable the landing page | +| `NEXT_PUBLIC_BASE_URL` | http://localhost:3000 | The base url where this instance is accessible, including the scheme (eg. `http://` or `https://`), the domain name, and optionally a port. | +| `SECRET_PASSWORD` | | A random 32-character secret key used to encrypt user sessions | +| `SMTP_HOST` | localhost | The host address of your SMTP server | +| `SMTP_PORT` | 25 or 465 | The port of your SMTP server | +| `SMTP_SECURE` | false | Set to "true" if SSL is enabled for your SMTP connection | +| `SMTP_USER` | | The username (if auth is enabled on your SMTP server) | +| `SMTP_PWD` | | The password (if auth is enabled on your SMTP server) | +| `SMTP_TLS_ENABLED` | false | Enable TLS for your SMTP connection | +| `NOREPLY_EMAIL` | | This email is used as the sender for all transactional emails. | +| `SUPPORT_EMAIL` | | This email will be shown as the contact email for support queries. If `NOREPLY_EMAIL` is not set, it will also be used as the sender for all transactional emails. |