feat: application.properties local variables 적용

This commit is contained in:
박정민 2024-07-24 10:53:42 +09:00
parent 98ebd29b23
commit 7aa0ddf184

View File

@ -2,13 +2,15 @@ spring.application.name=edufocus
server.port=8080
server.ssl.enabled=false
server.servlet.context-path=${CONTEXT_PATH}
# LiveKit configuration
livekit.api.key=${LIVEKIT_API_KEY:devkey}
livekit.api.secret=${LIVEKIT_API_SECRET:secret}
# JWT Salt (??? ?? ???? ???)
jwt.salt=ssafy-screte-key-20240404-ssafy-screte-key-20240404-ssafy-screte-key-20240404
jwt.salt=${SALT}
# Access Token ?? ?? (??? ??)
jwt.access-token.expiretime=3600000
@ -16,9 +18,9 @@ jwt.access-token.expiretime=3600000
# Refresh Token ?? ?? (??? ??)
jwt.refresh-token.expiretime=86400000
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/edufocus?useSSL=false
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.url=${DATA_SOURCE_URL}
spring.datasource.username=${USER_NAME}
spring.datasource.password=${USER_PASSWORD}
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
spring.jpa.database=mysql