chore: update readme and config

This commit is contained in:
Kakious 2024-07-27 01:34:23 -04:00
parent 774f243752
commit 4200e41987
2 changed files with 4 additions and 1 deletions

View file

@ -36,6 +36,8 @@ The default user that is created is:
Username: admin
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
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
- `BASE_URL` - Base URL for the application
- `APP_NAME` - Name of the application (default: `Waterwolf Identity`)
Database Configuration
- `DATABASE_HOST` - Hostname for the database

View file

@ -2,7 +2,7 @@ export default async () => ({
base: {
localUrl: `${process.env.BASE_URL}`,
fromEmail: `${process.env.FROM_EMAIL}`,
appName: `${process.env.APP_NAME ?? 'Waterwolf Auth'}`,
appName: `${process.env.APP_NAME ?? 'Waterwolf Identity'}`,
},
redis: {
host: process.env['REDIS_HOST'] ?? 'localhost',