change default viper config file to ./dev.env, fixes #2, #13

This commit is contained in:
dhax 2024-09-20 02:07:12 +02:00
parent 8c140ba3fa
commit 359d35fdd2
5 changed files with 25 additions and 21 deletions

19
dev.env Normal file
View file

@ -0,0 +1,19 @@
PORT=3000
LOG_LEVEL=DEBUG
DB_DSN=postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable
AUTH_LOGIN_URL=http://localhost:3000/login
AUTH_LOGIN_TOKEN_LENGTH=8
AUTH_LOGIN_TOKEN_EXPIRY=11m
AUTH_JWT_EXPIRY=15m
AUTH_JWT_REFRESH_EXPIRY=1h
EMAIL_SMTP_HOST=
EMAIL_SMTP_PORT=
EMAIL_SMTP_USER=
EMAIL_SMTP_PASSWORD=
EMAIL_FROM_ADDRESS=
EMAIL_FROM_NAME=
ENABLE_CORS=false