Skip to content

Commit 1c5bc40

Browse files
committed
fix env variables
1 parent 328e74b commit 1c5bc40

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/self-hosting/environment-variables.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ To configure your application, set the following environment variables. These va
88

99
## Application Configuration
1010

11-
| Variable | Example | Description |
12-
| ---------------------- | ----------------------- | ---------------------------------------------- |
13-
| `APP_URL` | `http://localhost:3000` | The base URL of your application. |
14-
| `APP_SECRET` | `random_key` | A random key used for application security. |
15-
| `PORT` | `3000` | The port on which the application will run. |
16-
| `JWT_TOKEN_EXPIRES_IN` | `30d` | The expiration time for JSON Web Tokens (JWT). |
11+
| Variable | Example | Description |
12+
| ---------------------- |------------------------------|---------------------------------------------------------------------------------------|
13+
| `APP_URL` | `http://docmost.example.com` | The base URL of your application. It is optional, but useful for correct email links. |
14+
| `APP_SECRET` | `random_key` | A random key used for application security. |
15+
| `PORT` | `3000` | The port on which the application will run. |
16+
| `JWT_TOKEN_EXPIRES_IN` | `30d` | The expiration time for JSON Web Tokens (JWT). |
1717

1818
## Database Configuration
1919

@@ -50,15 +50,15 @@ To configure your application, set the following environment variables. These va
5050

5151
### Using SMTP
5252

53-
| Variable | Example | Description |
54-
| ------------------- | ------------------- | ------------------------------------------------ |
55-
| `MAIL_DRIVER` | `smtp` | The mail driver to use for sending emails. |
56-
| `MAIL_HOST` | `smtp.example.com` | The SMTP server to use for sending emails. |
57-
| `MAIL_PORT` | `587` | The port to use for the SMTP server. |
58-
| `MAIL_USERNAME` | | The username for the SMTP server. |
59-
| `MAIL_PASSWORD` | | The password for the SMTP server. |
53+
| Variable | Example | Description |
54+
|-------------| ------------------- | ------------------------------------------------ |
55+
| `MAIL_DRIVER` | `smtp` | The mail driver to use for sending emails. |
56+
| `SMTP_HOST` | `smtp.example.com` | The SMTP server to use for sending emails. |
57+
| `SMTP_PORT` | `587` | The port to use for the SMTP server. |
58+
| `SMTP_USERNAME` | | The username for the SMTP server. |
59+
| `SMTP_PASSWORD` | | The password for the SMTP server. |
6060
| `MAIL_FROM_ADDRESS` | `[email protected]` | The email address that emails will be sent from. |
61-
| `MAIL_FROM_NAME` | `Docmost` | The name that emails will be sent from. |
61+
| `MAIL_FROM_NAME` | `Docmost` | The name that emails will be sent from. |
6262

6363
### Using Postmark
6464

0 commit comments

Comments
 (0)