server: port: 9090 servlet: context-path: '/' spring: # \uc218\ub3d9 Bean\uc774 \uc790\ub3d9 Bean\uc744 \uc624\ubc84\ub77c\uc774\ub529\ud558\uac8c \uc124\uc815 main: allow-bean-definition-overriding: true # open-in-view(\ud639\uc740 Open-Session-In-View(OSIV)) # true(\uae30\ubcf8\uac12) : \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc751\ub2f5 \ub610\ub294 view\uac00 \ub80c\ub354\ub9c1\ub420 \ub54c\uae4c\uc9c0 \uc601\uc18d\uc131 \ucee8\ud14d\uc2a4\ud2b8 \uc720\uc9c0 # false : \ud2b8\ub79c\uc81d\uc158\uc774 \uc885\ub8cc\ub420 \ub54c \uc601\uc18d\uc131 \ucee8\ud14d\uc2a4\ud2b8 \uc885\ub8cc jpa: open-in-view: false #Datasource Configuration cms: datasource: driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy jdbc-url: jdbc:log4jdbc:postgresql://210.180.118.83:5432/cms_portal?currentSchema=cms username: takensoft password: tts96314728!@ # 오라클 설정 # ums: # datasource: # driver-class-name: oracle.jdbc.OracleDriver # jdbc-url: jdbc:oracle:thin:@localhost:1521:xe # username: c##test1 # password: 1234 sql: init: platform: postgres servlet: multipart: max-file-size: 500MB max-request-size: 500MB # 캐시 설정 cache: type: caffeine caffeine: spec: maximumSize=100, expireAfterAccess=1h web: resources: # 윈도우 환경 static-locations: file:///C:/uploadFiles/, classpath:/static/ # 리눅스 환경 # static-locations: /home/cloud-user/uploadFiles # 이메일 인증 mail: host: smtp.gmail.com port: 587 username: dhars3000@gmail.com password: oejk enyp xowb mzsa # address: dhars3000@gmail.com # personal: TAKEN CMS SYSTEM properties: mail: smtp: # SMTP 관련 auth: true starttls: # 데이터 암호화 관련 enable: true certify-time: 600000 # 인증가능 시간: 10분 store-time: 86400000 # 보관 시간: 24시간 # SMS 인증 sms: api-key: NCSC5VEIMOYDW3RC api-secret: FJ9YOUOELWSXDZO9MAFMPXPU6IFZS7PG sender-number: "01051054225" certify-time: 600000 # 인증가능 시간: 10분 store-time: 86400000 # 보관 시간: 24시간 # OAuth2 설정 추가 security: oauth2: client: registration: # 카카오 OAuth2 설정 kakao: client-id: ${KAKAO_CLIENT_ID:bbaf1cd4db69d4b4a9be5b6917361ac3} client-secret: ${KAKAO_CLIENT_SECRET:AvQ4lQ7HajbNa3AhuzOb979l5cMQDlEJ} redirect-uri: ${KAKAO_REDIRECT_URI:http://localhost:9090/login/oauth2/code/kakao} authorization-grant-type: authorization_code scope: profile_nickname,profile_image,account_email client-name: Kakao client-authentication-method: client_secret_post # 네이버 OAuth2 설정 naver: client-id: ${NAVER_CLIENT_ID:Q7HdlZZhdCNjazYZtEwp} client-secret: ${NAVER_CLIENT_SECRET:HkHD7Zedss} redirect-uri: ${NAVER_REDIRECT_URI:http://localhost:9090/login/oauth2/code/naver} authorization-grant-type: authorization_code scope: name,email,profile_image client-name: Naver # 구글 OAuth2 설정 google: client-id: ${GOOGLE_CLIENT_ID:765599143887-79ga8lgcp83r1hg3s26eeidpubajokg9.apps.googleusercontent.com} client-secret: ${GOOGLE_CLIENT_SECRET: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} redirect-uri: ${GOOGLE_REDIRECT_URI:http://localhost:9090/login/oauth2/code/google} authorization-grant-type: authorization_code scope: - openid - profile - email client-name: Google client-authentication-method: client_secret_basic provider: # 카카오 제공업체 설정 kakao: authorization-uri: https://kauth.kakao.com/oauth/authorize token-uri: https://kauth.kakao.com/oauth/token user-info-uri: https://kapi.kakao.com/v2/user/me user-name-attribute: id # 네이버 제공업체 설정 naver: authorization-uri: https://nid.naver.com/oauth2.0/authorize token-uri: https://nid.naver.com/oauth2.0/token user-info-uri: https://openapi.naver.com/v1/nid/me user-name-attribute: response # 구글 제공업체 설정 google: authorization-uri: https://accounts.google.com/o/oauth2/v2/auth token-uri: https://www.googleapis.com/oauth2/v4/token user-info-uri: https://www.googleapis.com/oauth2/v3/userinfo user-name-attribute: sub # OIDC 지원을 위한 설정 jwk-set-uri: https://www.googleapis.com/oauth2/v3/certs issuer-uri: https://accounts.google.com # Mybatis settings #mybatis: # type-aliases-package: com.takensoft.**.**.vo, com.takensoft.**.**.dto, com.takensoft.common # mapper-locations: classpath:mybatis/mapper/**/*-SQL.xml # configuration: # cache-enabled: true # mapper 캐시 전역 사용여부 # lazy-loading-enabled: false # MyBatis 지연 로딩 사용여부 # multiple-result-sets-enabled: true # 한 개의 구문에서 여러 개의 ResultSet 허용 여부 # use-column-label: true # 컬럼명 대신 컬럼 라벨 사용 여부 # use-generated-keys: false # 키 자동 생성 # default-executor-type: SIMPLE # default-statement-timeout: 25000 # call-setters-on-nulls: true # map-underscore-to-camel-case: true # 카멜케이스 사용 # jwt jwt: secret: akdnciepwlmdkcngpqktmektakensoftepckdbnskqmdkfsdflksdfoasjkdfbasdfasdfwerhjjhkgdfgdfseasdfef accessTime: 600000 # 10분 600000 refreshTime: 86400000 # 24시간 86400000 # cookie 유지 시간 -> jwt refreshToken과 동일하게 지정 cookie: time: 86400 # 24시간 # frontUrl front: url: http://localhost:8080 # 암복호화 crypto: secret: takensoftcms2024!@# vector: takensoft2024cms!@# password: reset: 1234 file: file-upload-path: /fileUpload/ edit-file-upload-path: /editFileUpload/ redis: host: localhost port: 6379 password: # 필요한 경우 비밀번호 설정 timeout: 2000