aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--code/api/src/Services/VaultService.cs2
2 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6202715..6951bf6 100644
--- a/README.md
+++ b/README.md
@@ -51,9 +51,12 @@ All environment variables the api needs to function properly is specified in [`c
The following configuration keys need valid values in order to start the api (regardless of environment):
* Starting with DB_
+* Starting with EMAIL_FROM_
* Starting with QUARTZ_DB_
* Equal to APP_CERT
+> See [`code/api/src/Data/Models/AppConfiguration.cs`](./code/api/src/Data/Models/AppConfiguration.cs) for expected values.
+
#### Flight mode
If you need to skip the setup of vault or is unable to reach your vault instance, set isInFlightMode to true in [`code/api/src/Services/VaultService.cs`](./code/api/src/Services/VaultService.cs).
diff --git a/code/api/src/Services/VaultService.cs b/code/api/src/Services/VaultService.cs
index b64e6a2..8139985 100644
--- a/code/api/src/Services/VaultService.cs
+++ b/code/api/src/Services/VaultService.cs
@@ -78,6 +78,8 @@ public class VaultService
{
return new AppConfiguration()
{
+ EMAIL_FROM_ADDRESS = "local@dev",
+ EMAIL_FROM_DISPLAY_NAME = "Friendly neighbourhood developer",
DB_HOST = "localhost",
DB_PORT = "5432",
DB_NAME = "greatoffice_ivar_dev",