-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env
34 lines (27 loc) · 923 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#Webservice port
API_LOCAL_PORT=8080
API_DOCKER_PORT=8080
#Postgres port
POSTGRES_LOCAL_PORT=5434
POSTGRES_DOCKER_PORT=5432
#Database name (change this!)
DATABASE_NAME=wheremoneydb
#Database user (change this!)
DATABASE_USER=admin
#Database user password (change this!)
DATABASE_PASSWORD=adminpass
DATABASE_USE_SSL=false
#postgres user password (CHANGE THIS!)
POSTGRES_DEFAULT_PASSWORD_ENV=admin
#Deafult webservice admin username (change this!)
DEFAULT_ADMIN_USERNAME=admin
#Deafult webservice admin password (CHANGE THIS!)
DEFAULT_ADMIN_PASSWORD=changeme
#Deafult JWT secret key (CHANGE THIS!)
DEFAULT_JWT_SECRET_KEY=6jjzadtjrhbuwld8weh2fp2kn8eh
#How long each generated token is valid.
DEFAULT_JWT_VALIDITY_IN_MS=3600000
#Maximum allowed fail login attempts.
SESSION_MAX_LOGIN_ATTEMPTS=5
#How long a user will be banned after failing to login to their account more times than allowed.
SESSION_BAN_FOR_IN_HOURS=48