Skip to content

Commit 54e65d1

Browse files
committed
[fix/#38] Jwt 환경 변수 누락 추가
1 parent f9868b2 commit 54e65d1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docker-compose-dev.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ services:
2222
- CLOUD_AWS_REGION_STATIC=${AWS_REGION}
2323
- CLOUD_AWS_REGION_AUTO=false
2424
- 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}
2530

2631
depends_on:
2732
- mysql
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
jwt:
22
access-token-secret: ${JWT_ACCESS_TOKEN_SECRET:}
33
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시간
55
refresh-token-expiration-time: ${JWT_REFRESH_TOKEN_EXPIRATION_TIME:604800} #7일
66
issuer: ${JWT_ISSUER:}

0 commit comments

Comments
 (0)