260615_01_FST: First Commit
This commit is contained in:
7
src/main/resources/application-dev.yaml
Normal file
7
src/main/resources/application-dev.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
spring:
|
||||
datasource:
|
||||
#private 도메인
|
||||
url: jdbc:mysql://db-md87m.vpc-cdb.ntruss.com:3306/test_gwcf_review?characterEncoding=UTF-8&rewriteBatchedStatements=true
|
||||
username: prjct_gwcf
|
||||
password: gwcf#260608
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
25
src/main/resources/application-local.yaml
Normal file
25
src/main/resources/application-local.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
spring:
|
||||
datasource:
|
||||
#public 도메인
|
||||
url: jdbc:mysql://db-md87m-kr.vpc-pub-cdb.ntruss.com:3306/test_gwcf_review?characterEncoding=UTF-8&rewriteBatchedStatements=true
|
||||
username: prjct_gwcf
|
||||
password: gwcf#260608
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: none # 필요에 따라 update / validate 등으로 변경
|
||||
properties:
|
||||
hibernate:
|
||||
dialect: org.hibernate.dialect.MySQL8Dialect
|
||||
format_sql: true
|
||||
show_sql: false
|
||||
generate_statistics: true
|
||||
open-in-view: false
|
||||
|
||||
logging:
|
||||
level:
|
||||
org.hibernate.SQL: DEBUG
|
||||
#org.hibernate.orm.jdbc.bind: TRACE
|
||||
#org.hibernate.orm.jdbc.extract: TRACE
|
||||
org.hibernate.engine.jdbc.batch.internal: DEBUG
|
||||
7
src/main/resources/application-prod.yaml
Normal file
7
src/main/resources/application-prod.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
spring:
|
||||
datasource:
|
||||
#private 도메인
|
||||
url: jdbc:mysql://db-md87m.vpc-cdb.ntruss.com:3306/prjct_gwcf_review?characterEncoding=UTF-8&rewriteBatchedStatements=true
|
||||
username: prjct_gwcf
|
||||
password: gwcf#260608
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
76
src/main/resources/application.yaml
Normal file
76
src/main/resources/application.yaml
Normal file
@@ -0,0 +1,76 @@
|
||||
server:
|
||||
port: 6105
|
||||
forward-headers-strategy: framework
|
||||
tomcat:
|
||||
max-http-form-post-size: 100MB
|
||||
max-swallow-size: -1
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: gwcf-review-back
|
||||
jpa:
|
||||
properties:
|
||||
hibernate:
|
||||
jdbc:
|
||||
batch_size: 1000
|
||||
order_inserts: true
|
||||
order_updates: true
|
||||
|
||||
profiles:
|
||||
# 아무 설정 없을 때 기본으로 쓸 프로파일
|
||||
default: local
|
||||
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 100MB
|
||||
max-request-size: 100MB
|
||||
|
||||
logging:
|
||||
file:
|
||||
path: ./logs
|
||||
|
||||
kon:
|
||||
datasource:
|
||||
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
url: jdbc:sqlserver://1.235.195.8:20022;databaseName=KON;encrypt=false;loginTimeout=5
|
||||
username: kon
|
||||
password: kon#51304
|
||||
mybatis:
|
||||
mapper-locations: classpath*:mybatis/mapper/kon/*.xml
|
||||
type-aliases-package: com.kri.gwcf.review.back.dto.kon
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
||||
kri:
|
||||
security:
|
||||
enabled: true
|
||||
public-paths: # 인증 없이 열어둘 URL
|
||||
- /v3/api-docs/**
|
||||
- /swagger-ui.html
|
||||
- /swagger-ui/**
|
||||
- /ping
|
||||
- /api/v1/auth/login
|
||||
- /api/v1/admin-cache/**
|
||||
- /api/v1/assign/confirm/*
|
||||
- /api/v1/performance/list/compact
|
||||
|
||||
swagger:
|
||||
enabled: true
|
||||
allowed-ips:
|
||||
- 211.254.145.130
|
||||
title: "GWCF Review"
|
||||
description: "강원문화예술지원사업 모니터링 및 종합평가 서버스"
|
||||
version: "v1.0.0"
|
||||
base-package: "com.kri.gwcf.review.back"
|
||||
|
||||
file:
|
||||
visit-base-dir: ./upload-file/visit
|
||||
review-base-dir: ./upload-file/review
|
||||
|
||||
web:
|
||||
enabled: true # 공통 Web 구성 사용 여부 (기본 true)
|
||||
redis:
|
||||
enabled: false # RedisQueueHelper 사용 시 true
|
||||
scheduling:
|
||||
enabled: false # @Scheduled 사용 시 true
|
||||
Reference in New Issue
Block a user