Skip to content

Commit

Permalink
Update env-config to check for new required database env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
NickPhura committed Nov 15, 2024
1 parent 0214854 commit e053059
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/src/utils/env-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ export const EnvSchema = z.object({
API_PORT: ZodEnvNumber,

// Database
POSTGRES_VERSION: ZodEnvString,
DB_HOST: ZodEnvString,
DB_PORT: ZodEnvNumber,
DB_USER_API: ZodEnvString,
DB_USER_API_PASS: ZodEnvString,
DB_DATABASE: ZodEnvString,
PG_DATA: ZodEnvString,

// Keycloak
KEYCLOAK_HOST: ZodEnvString,
Expand Down

0 comments on commit e053059

Please sign in to comment.