application.properties
# MySQL
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.format_sql=true
# ?? ???? ???? ??? ??(??)?? ??? ??? ???
spring.thymeleaf.cache=false
server.port=8080
logging.level.back.ahwhew.controller=debug
server.servlet.encoding.force-response=true
# application.properties 또는 application.yml에 추가
spring.mvc.cache.handlers=false
application.yml
naver-api:
endpoint: <https://naveropenapi.apigw.ntruss.com/sentiment-analysis/v1/analyze>
api-key: YsGhPPnxNSuzAkPTwrGjOknlFzFCgDFN1eYQzIYx
api-key-id: t7ho4lh6as
naver-papago:
endpoint: <https://naveropenapi.apigw.ntruss.com/nmt/v1/translation>
api-key: 2CiNUx3lwNdwHD4rtI7pm5zxZTjPlXNAQzAheXYE
api-key-id: nshlfk46cj
karlo:
url: <https://api.kakaobrain.com/v2/inference/karlo/t2i>
key: 36f389847c38aeb1bc4fb2dc89c92a01
imgEditUrl: <https://api.kakaobrain.com/v2/inference/karlo/inpainting>
# MySQL(공용 db)
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://3.34.188.175:3306/ahwhew?characterEncoding=UTF-8
username: ahwhew
password: ahwhewhong1106
mvc:
cache:
handlers=false:spring.mvc.cache.handlers=false# MySQL(로컬 db)
#spring:
# datasource:
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://localhost:3306/ahwhew?characterEncoding=UTF-8
# username: root
# password: 12345678
# JWT
jwt:
issuer: [email protected]
secret_key: sesac-3rd-team-project-12345
# ASWS3
cloud:
aws:
s3:
bucket: example-bucket-seeun
stack.auto: false
region:
static: ap-northeast-2
credentials:
accessKey: AKIA55BXXA2BFGVUXJ7P
secretKey: S3JL7vZsBHSM3kR4CBkOWVkP4KYcS2YOVOzz2iep