Blame view

src/main/resources/application.yml 2.09 KB
14043a54   sangkiham   Init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
  spring:
    jwt:
      secretKey: vmfhwprxm
  
    jpa:
      show-sql: true
      generate-ddl: true
      #database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
      #database-platform: org.hibernate.dialect.MariaDB53Dialect
      database-platform: org.hibernate.dialect.SQLServer2012Dialect
      hibernate:
        format_sql: true
        ddl-auto: update
  
    datasource:
      #driver-class-name: com.mysql.cj.jdbc.Driver
      #url: jdbc:mysql://localhost:3306/project_db?serverTimezone=Asia/Seoul&charaterEncoding=UTF-8
      #driver-class-name: org.mariadb.jdbc.Driver
      #url: jdbc:mariadb://localhost:3306/testsecurity?serverTimezone=Asia/Seoul&charaterEncoding=UTF-8
      driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
      url: jdbc:sqlserver://daeuserver2.iptime.org:1433;DatabaseName=UNICONS
      username: UNICONS
      password: UNICONS
  
    redis:
      host: localhost
      port: 6379
  
    social:
      kakao:
        client_id:
        redirect: http://localhost:8080/social/login/kakao
        url:
          login: https://kauth.kakao.com/oauth/authorize
          token: https://kauth.kakao.com/oauth/token
          profile: https://kapi.kakao.com/v2/user/me
  
      google:
        client_id:
        client_secret:
        redirect: http://localhost:8080/social/login/google
        url:
          login: https://accounts.google.com/o/oauth2/v2/auth
          token: https://oauth2.googleapis.com/token
          profile: https://www.googleapis.com/oauth2/v3/userinfo
  
      naver:
        client_id:
        client_secret:
        redirect: http://localhost:8080/social/login/naver
        url:
          login: https://nid.naver.com/oauth2.0/authorize
          token: https://nid.naver.com/oauth2.0/token
10d20dbd   sangkiham   Mybatis 추가
54
55
56
57
58
59
60
61
62
63
64
65
          profile: https://openapi.naver.com/v1/nid/me
  
    #jsp의 설정이 기존에 있기 때문에 thymeleaf/ 로 호출되면 타임리프가 처리되도록 반영하기 위한 코드
    thymeleaf:
      prefix: classpath:/templates/
      suffix: .html
      #thymeleaf 수정 사항 발생 시, 서버 재기동 없이 캐시를 무시하기 위한 코드
      cache: false
      check-template-location: true
  
  mybatis:
    mapper-locations: classpath:mybatis/mapper/**.xml