mirror of
https://github.com/hwanny1128/HGZero.git
synced 2026-06-13 05:59:11 +00:00
백엔드 실행 프로파일 작성
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
spring:
|
||||
application:
|
||||
name: meeting
|
||||
profiles:
|
||||
active: ${SPRING_PROFILES_ACTIVE:dev}
|
||||
|
||||
# Database Configuration
|
||||
datasource:
|
||||
@@ -43,7 +45,7 @@ spring:
|
||||
|
||||
# Server Configuration
|
||||
server:
|
||||
port: ${SERVER_PORT:8081}
|
||||
port: ${SERVER_PORT:8082}
|
||||
|
||||
# JWT Configuration
|
||||
jwt:
|
||||
@@ -85,6 +87,7 @@ springdoc:
|
||||
# Logging Configuration
|
||||
logging:
|
||||
level:
|
||||
root: ${LOG_LEVEL_ROOT:INFO}
|
||||
com.unicorn.hgzero.meeting: ${LOG_LEVEL_APP:DEBUG}
|
||||
org.springframework.web: ${LOG_LEVEL_WEB:INFO}
|
||||
org.springframework.security: ${LOG_LEVEL_SECURITY:DEBUG}
|
||||
@@ -95,4 +98,30 @@ logging:
|
||||
console: "%d{yyyy-MM-dd HH:mm:ss} - %msg%n"
|
||||
file: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
|
||||
file:
|
||||
name: ${LOG_FILE_PATH:logs/meeting.log}
|
||||
name: ${LOG_FILE:logs/meeting-service.log}
|
||||
logback:
|
||||
rollingpolicy:
|
||||
max-file-size: ${LOG_MAX_FILE_SIZE:10MB}
|
||||
max-history: ${LOG_MAX_HISTORY:7}
|
||||
total-size-cap: ${LOG_TOTAL_SIZE_CAP:100MB}
|
||||
|
||||
# External API Configuration
|
||||
api:
|
||||
claude:
|
||||
key: ${CLAUDE_API_KEY:}
|
||||
url: ${CLAUDE_API_URL:https://api.anthropic.com}
|
||||
openai:
|
||||
key: ${OPENAI_API_KEY:}
|
||||
url: ${OPENAI_API_URL:https://api.openai.com}
|
||||
openweather:
|
||||
key: ${OPENWEATHER_API_KEY:}
|
||||
url: ${OPENWEATHER_API_URL:https://api.openweathermap.org}
|
||||
kakao:
|
||||
key: ${KAKAO_API_KEY:}
|
||||
url: ${KAKAO_API_URL:https://dapi.kakao.com}
|
||||
|
||||
# Azure EventHub Configuration
|
||||
eventhub:
|
||||
connection-string: ${EVENTHUB_CONNECTION_STRING:}
|
||||
name: ${EVENTHUB_NAME:hgzero-eventhub-name}
|
||||
consumer-group: ${EVENTHUB_CONSUMER_GROUP:$Default}
|
||||
|
||||
Reference in New Issue
Block a user