Skip to content

Commit

Permalink
Added env vars example
Browse files Browse the repository at this point in the history
  • Loading branch information
tim14996 committed Nov 21, 2023
1 parent a6a3844 commit 08740dd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
DATABASE_URL="sqlite:///./db.sqlite"
# DATABASE_URL="postgresql://user:password@postgresserver/db"

#AUTH SETTINGS / PASSWORT RESET
PASSWORD_RESET_LINK="127.0.0.1" #Important: No Backslash at the end!
JWT_VALID_TIME_ACCESS=1200 #In Sec = 20min
JWT_VALID_TIME_REFRESH=604800 #In Sec = one week
JWT_VALID_TIME_PWD_RESET=600 #In Sec = 10min
JWT_SECRET="C0ddVvlcaL4UuChF8ckFQoVCGbtizyvK"
JWT_ALGORITHM="HS256"
MAIL_USERNAME="[email protected]"
MAIL_PASSWORD="qcjb hvps xmlf rtpm"
MAIL_PORT=587
MAIL_SERVER="smtp.gmail.com"
MAIL_FROM_NAME="Kosjenka Support"

0 comments on commit 08740dd

Please sign in to comment.