chore: update readme and config
This commit is contained in:
parent
774f243752
commit
4200e41987
2 changed files with 4 additions and 1 deletions
|
@ -36,6 +36,8 @@ The default user that is created is:
|
||||||
Username: admin
|
Username: admin
|
||||||
Password: changeme
|
Password: changeme
|
||||||
|
|
||||||
|
Default email templates are stored in /mail folder. These are loaded into the DB on first load of the service and can be modified in the DB after that.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Use pnmp to install the required packages.
|
Use pnmp to install the required packages.
|
||||||
|
@ -58,6 +60,7 @@ Configuration can be done by using a `.env` file or environment variables.
|
||||||
|
|
||||||
Application Configuration
|
Application Configuration
|
||||||
- `BASE_URL` - Base URL for the application
|
- `BASE_URL` - Base URL for the application
|
||||||
|
- `APP_NAME` - Name of the application (default: `Waterwolf Identity`)
|
||||||
|
|
||||||
Database Configuration
|
Database Configuration
|
||||||
- `DATABASE_HOST` - Hostname for the database
|
- `DATABASE_HOST` - Hostname for the database
|
||||||
|
|
|
@ -2,7 +2,7 @@ export default async () => ({
|
||||||
base: {
|
base: {
|
||||||
localUrl: `${process.env.BASE_URL}`,
|
localUrl: `${process.env.BASE_URL}`,
|
||||||
fromEmail: `${process.env.FROM_EMAIL}`,
|
fromEmail: `${process.env.FROM_EMAIL}`,
|
||||||
appName: `${process.env.APP_NAME ?? 'Waterwolf Auth'}`,
|
appName: `${process.env.APP_NAME ?? 'Waterwolf Identity'}`,
|
||||||
},
|
},
|
||||||
redis: {
|
redis: {
|
||||||
host: process.env['REDIS_HOST'] ?? 'localhost',
|
host: process.env['REDIS_HOST'] ?? 'localhost',
|
||||||
|
|
Loading…
Reference in a new issue