Yaml 설정

JoMinJun·2021년 4월 21일
0

springboot

목록 보기
10/38

> application.yml

springboot 에서의 설정 파일

//spring - root-context + servlet-context + web.xml

server:
  port: 8000
  servlet:
    context-path: /blog  //진입점 
    encoding:
      charset: UTF-8
      enabled: true
      force: true
    
spring:
  mvc:
    view:
      prefix: /WEB-INF/views/
      suffix: .jsp
      
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://localhost:3306/blog?serverTimezone=Asia/Seoul
    username: cos
    password: 1234
    
    
    
profile
기술정리

0개의 댓글

관련 채용 정보