go-jwtserver/.env.dist

16 lines
401 B
Plaintext
Raw Normal View History

2020-07-16 10:51:50 +02:00
## Server
2020-07-22 10:14:13 +02:00
jwt_web_adress=":3001"
2020-07-16 10:51:50 +02:00
## Postgres
2020-07-22 10:14:13 +02:00
jwt_db_user="jwtserver"
jwt_db_pass="jwtserver"
jwt_db_name="jwtserver"
jwt_db_host="localhost"
2020-07-16 10:51:50 +02:00
## JWT
2020-07-22 10:14:13 +02:00
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