260116_01_ENH : yml 위치 변경
This commit is contained in:
11
src/main/resources/application-dev.yml
Normal file
11
src/main/resources/application-dev.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
kri:
|
||||
api-url:
|
||||
intranet-extension: https://intranet-ext.kric.com/api/v1
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
#private 도메인
|
||||
url: jdbc:mysql://db-md87m-kr.vpc-pub-cdb.ntruss.com:3306/test_kri_contact?characterEncoding=UTF-8
|
||||
username: kri_contact
|
||||
password: contact#51304
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
27
src/main/resources/application-local.yml
Normal file
27
src/main/resources/application-local.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
kri:
|
||||
api-url:
|
||||
#intranet-extension: "http://localhost:3031/api/v1"
|
||||
intranet-extension: https://intranet-ext.kric.com/api/v1
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
#public 도메인
|
||||
url: jdbc:mysql://db-md87m-kr.vpc-pub-cdb.ntruss.com:3306/test_kri_contact?characterEncoding=UTF-8
|
||||
username: kri_contact
|
||||
password: contact#51304
|
||||
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: true
|
||||
open-in-view: false
|
||||
|
||||
logging:
|
||||
level:
|
||||
org.hibernate.SQL: debug
|
||||
org.hibernate.type.descriptor.sql.BasicBinder: trace
|
||||
11
src/main/resources/application-prod.yml
Normal file
11
src/main/resources/application-prod.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
kri:
|
||||
api-url:
|
||||
intranet-extension: https://intranet-ext.kric.com/api/v1
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
#private 도메인
|
||||
url: jdbc:mysql://db-md87m-kr.vpc-pub-cdb.ntruss.com:3306/test_kri_contact?characterEncoding=UTF-8
|
||||
username: kri_contact
|
||||
password: contact#51304
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
@@ -1 +0,0 @@
|
||||
spring.application.name=contact-server
|
||||
58
src/main/resources/application.yml
Normal file
58
src/main/resources/application.yml
Normal file
@@ -0,0 +1,58 @@
|
||||
server:
|
||||
port: 4001
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: contact-server
|
||||
|
||||
profiles:
|
||||
# 아무 설정 없을 때 기본으로 쓸 프로파일
|
||||
default: local
|
||||
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 20MB
|
||||
max-request-size: 20MB
|
||||
|
||||
logging:
|
||||
file:
|
||||
path: ./logs
|
||||
|
||||
kri:
|
||||
auth:
|
||||
apikey:
|
||||
key: "4B726963-436F6E74616374-53657276696365-402531213230"
|
||||
header-name: "X-API-Key" # API Key 헤더
|
||||
|
||||
security:
|
||||
enabled: true
|
||||
public-paths: # 인증 없이 열어둘 URL
|
||||
- /v3/api-docs/**
|
||||
- /swagger-ui.html
|
||||
- /swagger-ui/**
|
||||
- /ping
|
||||
- /api/v1/auth/login
|
||||
- /contact-senario/**
|
||||
|
||||
swagger:
|
||||
enabled: true
|
||||
title: "KRI Contact API"
|
||||
description: "KRI 컨택 API"
|
||||
version: "v1.0.0"
|
||||
base-package: "com.kri.contact.server"
|
||||
|
||||
contact-senario:
|
||||
upload-base-dir: ./upload-file/contact-senario
|
||||
public-base-url: /contact-senario
|
||||
temp-expire-hours: 24
|
||||
temp-cleanup-cron: "0 0 0 * * *" # 매일 00:00(초 분 시 일 월 요일)
|
||||
|
||||
common:
|
||||
web:
|
||||
enabled: true # 공통 Web 구성 사용 여부 (기본 true)
|
||||
webmvc:
|
||||
enabled: true # 공통 Webmvc 구성 사용 여부 (기본 true)
|
||||
redis:
|
||||
enabled: false # RedisQueueHelper 사용 시 true
|
||||
scheduling:
|
||||
enabled: true # @Scheduled 사용 시 true
|
||||
Reference in New Issue
Block a user