#it will be set build date by gradle. if this value is @build.date@, front-end is development mode
[email protected]@
server.port=8081
server.address=0.0.0.0
server.servlet.contextPath=/api/v1
# Charset of HTTP requests and responses. Added to the "Content-Type" header if not set explicitly.
server.servlet.encoding.charset=UTF-8
# Enable http encoding support.
server.servlet.encoding.enabled=true
# Force the encoding to the configured charset on HTTP requests and responses.
server.servlet.encoding.force=true
# for SPA
spring.web.resources.static-locations=classpath:/dist/
spa.default-file=/dist/index.html
spring.mvc.throw-exception-if-no-handler-found=true
spring.web.resources.add-mappings=false
# Swagger
springfox.documentation.swagger.use-model-v3=false
#database
spring.jpa.hibernate.naming.implicit-strategy=org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL57Dialect
spring.data.web.pageable.one-indexed-parameters=true
spring.datasource.url=jdbc:mysql://i9a804.p.ssafy.io:3306/gombang?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.hikari.username=root
spring.datasource.hikari.password=gombangwa
# jwt
jwt.secret=dyAeHubOOc8KaOfYB6XEQoEj1QzRlVgtjNL8PYs1A1tymZvvqkcEU7L1imkKHeDa
# unit is ms. 15 * 24 * 60 * 60 * 1000 = 15days
jwt.expiration=1296000000
#logging
logging.file.name=./ssafy-web.log
logging.level.root=INFO
logging.level.com.samsung.security=DEBUG
logging.level.org.springframework.web=DEBUG
logging.level.org.apache.tiles=INFO
logging.level.org.sringframework.boot=DEBUG
logging.level.org.sringframework.security=DEBUG
spring.devtools.livereload.enabled=true
#gzip compression
server.compression.enabled=true
server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css
#for health check
management.servlet.context-path=/manage
management.health.db.enabled=true
management.health.default.enabled=true
management.health.diskspace.enabled=true
# KakaoLoginAPI
kakao.client.id=a20ef37212e1ae86b20e09630f6590ce
kakao.client.secret=R4h3tzhPcWcArxs5dRGh3fauKHRCo1NU
kakao.redirect.url=https://i9a804.p.ssafy.io/auth
# MongoDB
spring.data.mongodb.uri=mongodb://i9a804.p.ssafy.io:27017
spring.data.mongodb.database=gombang
# Redis
spring.redis.host=i9a804.p.ssafy.io
spring.redis.port=6379
# S3
cloud.aws.credentials.accessKey=AKIAWOZ4JU2L3V5WW4HN
cloud.aws.credentials.secretKey=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
cloud.aws.s3.bucket=gombang-bucket
cloud.aws.region.static=ap-northeast-2
cloud.aws.stack.auto-=false