Fix readme spacing

This commit is contained in:
april 2023-12-28 17:25:19 -06:00
parent 3e4155a9ba
commit 941dbe527c

View File

@ -74,22 +74,29 @@ To configure Tailfin, modify the `.env` file. Some of these options should be ch
available options are detailed below: available options are detailed below:
`DB_URI`: Address of MongoDB instance. Default: localhost `DB_URI`: Address of MongoDB instance. Default: localhost
<br />
`DB_PORT`: Port of MongoDB instance. Default: 27017 `DB_PORT`: Port of MongoDB instance. Default: 27017
<br />
`DB_NAME`: Name of the database to be used by Tailfin. Default: tailfin `DB_NAME`: Name of the database to be used by Tailfin. Default: tailfin
`DB_USER`: Username for MongoDB authentication. Default: tailfin-api `DB_USER`: Username for MongoDB authentication. Default: tailfin-api
<br />
`DB_PWD`: Password for MongoDB authentication. Default: tailfin-api-password `DB_PWD`: Password for MongoDB authentication. Default: tailfin-api-password
`REFRESH_TOKEN_EXPIRE_MINUTES`: Duration in minutes to keep refresh token active before invalidating it. Default: `REFRESH_TOKEN_EXPIRE_MINUTES`: Duration in minutes to keep refresh token active before invalidating it. Default:
10080 (7 days) 10080 (7 days)
<br />
`ACCESS_TOKEN_EXPIRE_MINUTES`: Duration in minutes to keep access token active before invalidating it. Default: 30 `ACCESS_TOKEN_EXPIRE_MINUTES`: Duration in minutes to keep access token active before invalidating it. Default: 30
`JWT_ALGORITHM`: Encryption algorithm to use for access and refresh tokens. Default: HS256 `JWT_ALGORITHM`: Encryption algorithm to use for access and refresh tokens. Default: HS256
<br />
`JWT_SECRET_KEY`: Secret key used to encrypt and decrypt access tokens. Default: please-change-me `JWT_SECRET_KEY`: Secret key used to encrypt and decrypt access tokens. Default: please-change-me
<br />
`JWT_REFRESH_SECRET_KEY`: Secret key used to encrypt and decrypt refresh tokens. Default: change-me-i-beg-of-you `JWT_REFRESH_SECRET_KEY`: Secret key used to encrypt and decrypt refresh tokens. Default: change-me-i-beg-of-you
`TAILFIN_ADMIN_USERNAME`: Username of the default admin user that is created on startup if no admin users exist. `TAILFIN_ADMIN_USERNAME`: Username of the default admin user that is created on startup if no admin users exist.
Default: admin Default: admin
<br />
`TAILFIN_ADMIN_PASSWORD`: Password of the default admin user that is created on startup if no admin users exist. `TAILFIN_ADMIN_PASSWORD`: Password of the default admin user that is created on startup if no admin users exist.
Default: change-me-now Default: change-me-now