File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ services:
22
22
- CLOUD_AWS_REGION_STATIC=${AWS_REGION}
23
23
- CLOUD_AWS_REGION_AUTO=false
24
24
- CLOUD_AWS_STACK_AUTO=false
25
+ - JWT_ACCESS_TOKEN_SECRET=${JWT_ACCESS_TOKEN_SECRET}
26
+ - JWT_REFRESH_TOKEN_SECRET=${JWT_REFRESH_TOKEN_SECRET}
27
+ - JWT_ACCESS_TOKEN_EXPIRATION_TIME=${JWT_ACCESS_TOKEN_EXPIRATION_TIME} # 기본값: 2시간
28
+ - JWT_REFRESH_TOKEN_EXPIRATION_TIME=${JWT_REFRESH_TOKEN_EXPIRATION_TIME} # 기본값: 7일
29
+ - JWT_ISSUER=${JWT_ISSUER}
25
30
26
31
depends_on :
27
32
- mysql
Original file line number Diff line number Diff line change 1
1
jwt :
2
2
access-token-secret : ${JWT_ACCESS_TOKEN_SECRET:}
3
3
refresh-token-secret : ${JWT_REFRESH_TOKEN_SECRET:}
4
- access-token-expiration-time : ${JWT_ACCESS_TOKEN_EXPIRATION_TIME:36000 } # 10시간
4
+ access-token-expiration-time : ${JWT_ACCESS_TOKEN_EXPIRATION_TIME:7200 } # 2시간
5
5
refresh-token-expiration-time : ${JWT_REFRESH_TOKEN_EXPIRATION_TIME:604800} # 7일
6
6
issuer : ${JWT_ISSUER:}
You can’t perform that action at this time.
0 commit comments