테스트용 설정 분리

This commit is contained in:
Klaus 2023-07-24 02:17:00 +09:00
parent f81f07bd05
commit f525f19530
2 changed files with 38 additions and 12 deletions

View File

@ -1,12 +0,0 @@
package kr.co.vividnext.sodalive
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest
class SodaliveApplicationTests {
@Test
fun contextLoads() {
}
}

View File

@ -0,0 +1,38 @@
logging:
level:
com:
amazonaws:
util:
EC2MetadataUtils: error
cloud:
aws:
credentials:
accessKey: ${APP_AWS_ACCESS_KEY}
secretKey: ${APP_AWS_SECRET_KEY}
s3:
bucket: ${S3_BUCKET}
cloudFront:
host: ${CLOUD_FRONT_HOST}
region:
static: ap-northeast-2
stack:
auto: false
jwt:
header: Authorization
token-validity-in-seconds: ${JWT_TOKEN_VALIDITY_TIME}
secret: ${JWT_SECRET}
spring:
redis:
host: localhost
port: 6379
jpa:
hibernate:
ddl-auto: create-drop
properties:
hibernate:
show_sql: true
format_sql: true