빅데이터 기반 텍스트화된 이벤트 영상을 검색하는 AI 모니터링 시스템 구축
- Spring Boot 3.2.4
- Java 17
- Postgresql
src/main/resources/application.yml
아래 양식의 파일이 필요합니다.
application.yml
spring:
datasource:
url:
username:
password:
driver-class-name: org.postgresql.Driver
jpa:
database: postgresql
show-sql: true
generate-ddl: true
hibernate:
ddl-auto: create
properties:
hibernate:
show_sql: true
format_sql: true
default_batch_fetch_size: 500
security:
oauth2:
client:
redirect-uri:
registration:
google:
client-id:
client-secret:
scope:
- email
- profile
kakao:
client-id:
client-secret:
scope:
- profile_nickname
- profile_image
- account_email
authorization-grant-type: authorization_code
redirect-uri: http://localhost:8080/login/oauth2/code/kakao
client-authentication-method: client_secret_post
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
elasticsearch:
username:
password:
host:
cloud:
gcp:
storage:
credentials:
location: classpath:
project-id:
bucket:
default-thumbnail-uri:
sendgrid:
from:
template-id:
api-key:
logging:
level:
org:
springframework:
security: DEBUG
data:
elasticsearch:
client:
WIRE: TRACE
ncp:
service-id:
access-key:
secret-key:
plus-friend-id:
springdoc:
packages-to-scan: com.server.aeye
default-consumes-media-type: application/json;charset=UTF-8
default-produces-media-type: application/json;charset=UTF-8
swagger-ui:
tags-sorter: alpha
operations-sorter: alpha
display-request-duration: true
api-docs:
path: /api-docs/json
groups:
enabled: true
server:
forward-headers-strategy: framework
ffmpeg:
path:
ffprobe:
path:
jwt:
secret:
src/main/resources/credentials.json
파일이 필요합니다.
Google Cloud Storage 인증 JSON 발급방법 참고