@@ -8,12 +8,12 @@ To configure your application, set the following environment variables. These va
8
8
9
9
## Application Configuration
10
10
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). |
17
17
18
18
## Database Configuration
19
19
@@ -50,15 +50,15 @@ To configure your application, set the following environment variables. These va
50
50
51
51
### Using SMTP
52
52
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. |
60
60
| ` 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. |
62
62
63
63
### Using Postmark
64
64
0 commit comments