-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.env.example
31 lines (31 loc) · 1.07 KB
/
app.env.example
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
#SERVER_ADDRESS=localhost:8081
DATABASE_URL=
DB_HOST=localhost
DB_NAME=database_name_db
DB_USER=postgress
DB_PASSWORD=Password_db
DB_PORT=5432
ACCESS_TOKEN_PRIVATE_KEY_PATH=./access-private.pem
ACCESS_TOKEN_PUBLIC_KEY_PATH=./access-public.pem
REFRESH_TOKEN_PRIVATE_KEY_PATH=./refresh-private.pem
REFRESH_TOKEN_PUBLIC_KEY_PATH=./refresh-public.pem
JWT_EXPIRATION=30
SENDGRID_API_KEY=<get it from_https://app.sendgrid.com>
MAIL_VERIFICATION_CODE_EXPIRATION=24
PASSWORD_RESET_CODE_EXPIRATION=15
MATCH_CODE_EXPIRATION=15
MAIL_VERIFICATION_TEMPLATE_ID=<get it from https://mc.sendgrid.com/dynamic-templates>
PASSWORD_RESET_TEMPLATE_ID=<get it from https://mc.sendgrid.com/dynamic-templates>
CANCEL_DELETE_USER_TEMPLATE_ID=
ISSUER=codetoanbug.auth.service
HTTP_PORT=8081
MAIL_TITLE="Love Letter Verification"
CHANGE_PASSWORD_LIMIT=10
SEND_MAIL_VERIFY_LIMIT=1
SEND_MAIL_RESET_PASSWORD_LIMIT=1
SEND_MAIL_CANCEL_DELETE_LIMIT=1
LOGIN_LIMIT=10
CHECK_PASS_CODE_LIMIT=10
ONE_SIGNAL_APP_ID=<get from your onesignal project>
ONE_SIGNAL_API_KEY=<get from your onesignal project>