update conf var names

This commit is contained in:
2020-07-22 10:14:13 +02:00
parent 7927fe6483
commit 3f03090762
4 changed files with 26 additions and 21 deletions

View File

@ -1,11 +1,16 @@
## Server
web_adress=":3001"
jwt_web_adress=":3001"
## Postgres
db_user="jwtserver"
db_pass="jwtserver"
db_name="jwtserver"
db_host="localhost"
jwt_db_user="jwtserver"
jwt_db_pass="jwtserver"
jwt_db_name="jwtserver"
jwt_db_host="localhost"
## JWT
token_password="NotSoSecretJwtSecretPassword"
jwt_subject="factory"
jwt_audience="risotto"
jwt_access_token_password="NotSoSecretJwtAccessSecretPassword"
jwt_refresh_token_password="NotSoSecretJwtRefreshSecretPassword"
jwt_access_expiration=30 ## in seconds
jwt_refresh_expiration=2 ## in minutes