fix: update env vars
DB_PORT aangepast
This commit is contained in:
parent
885021b0b1
commit
72cab189a6
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
DWENGO_PORT=3000
|
DWENGO_PORT=3000
|
||||||
DWENGO_DB_HOST=localhost
|
DWENGO_DB_HOST=localhost
|
||||||
DWENGO_DB_PORT=5431
|
DWENGO_DB_PORT=5432
|
||||||
DWENGO_DB_NAME=postgres
|
DWENGO_DB_NAME=postgres
|
||||||
DWENGO_DB_USERNAME=postgres
|
DWENGO_DB_USERNAME=postgres
|
||||||
DWENGO_DB_PASSWORD=postgres
|
DWENGO_DB_PASSWORD=postgres
|
||||||
|
|
|
@ -6,7 +6,7 @@ type EnvVar = { key: string; required?: boolean; defaultValue?: any };
|
||||||
export const EnvVars: { [key: string]: EnvVar } = {
|
export const EnvVars: { [key: string]: EnvVar } = {
|
||||||
Port: { key: PREFIX + 'PORT', defaultValue: 3000 },
|
Port: { key: PREFIX + 'PORT', defaultValue: 3000 },
|
||||||
DbHost: { key: DB_PREFIX + 'HOST', required: true },
|
DbHost: { key: DB_PREFIX + 'HOST', required: true },
|
||||||
DbPort: { key: DB_PREFIX + 'PORT', defaultValue: 5431 },
|
DbPort: { key: DB_PREFIX + 'PORT', defaultValue: 5432 },
|
||||||
DbName: { key: DB_PREFIX + 'NAME', defaultValue: 'dwengo' },
|
DbName: { key: DB_PREFIX + 'NAME', defaultValue: 'dwengo' },
|
||||||
DbUsername: { key: DB_PREFIX + 'USERNAME', required: true },
|
DbUsername: { key: DB_PREFIX + 'USERNAME', required: true },
|
||||||
DbPassword: { key: DB_PREFIX + 'PASSWORD', required: true },
|
DbPassword: { key: DB_PREFIX + 'PASSWORD', required: true },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue