mirror of
https://github.com/hwanny1128/HGZero.git
synced 2025-12-06 11:26:25 +00:00
Merge branch 'main' of https://github.com/hwanny1128/HGZero into feat/rag-setting
This commit is contained in:
commit
37adf6862a
149
meeting/bin/main/application.yml
Normal file
149
meeting/bin/main/application.yml
Normal file
@ -0,0 +1,149 @@
|
|||||||
|
spring:
|
||||||
|
application:
|
||||||
|
name: meeting
|
||||||
|
profiles:
|
||||||
|
active: ${SPRING_PROFILES_ACTIVE:dev}
|
||||||
|
|
||||||
|
# Database Configuration
|
||||||
|
datasource:
|
||||||
|
url: jdbc:${DB_KIND:postgresql}://${DB_HOST:4.230.48.72}:${DB_PORT:5432}/${DB_NAME:meetingdb}
|
||||||
|
username: ${DB_USERNAME:hgzerouser}
|
||||||
|
password: ${DB_PASSWORD:Hi5Jessica!}
|
||||||
|
driver-class-name: org.postgresql.Driver
|
||||||
|
hikari:
|
||||||
|
maximum-pool-size: 20
|
||||||
|
minimum-idle: 5
|
||||||
|
connection-timeout: 30000
|
||||||
|
idle-timeout: 600000
|
||||||
|
max-lifetime: 1800000
|
||||||
|
leak-detection-threshold: 60000
|
||||||
|
|
||||||
|
# JPA Configuration
|
||||||
|
jpa:
|
||||||
|
show-sql: ${SHOW_SQL:true}
|
||||||
|
database-platform: org.hibernate.dialect.PostgreSQLDialect
|
||||||
|
properties:
|
||||||
|
hibernate:
|
||||||
|
format_sql: true
|
||||||
|
use_sql_comments: true
|
||||||
|
dialect: org.hibernate.dialect.PostgreSQLDialect
|
||||||
|
hbm2ddl:
|
||||||
|
auto: none
|
||||||
|
temp:
|
||||||
|
use_jdbc_metadata_defaults: false
|
||||||
|
jdbc:
|
||||||
|
lob:
|
||||||
|
non_contextual_creation: true
|
||||||
|
javax:
|
||||||
|
persistence:
|
||||||
|
schema-generation:
|
||||||
|
database:
|
||||||
|
action: none
|
||||||
|
scripts:
|
||||||
|
action: none
|
||||||
|
hibernate:
|
||||||
|
ddl-auto: none
|
||||||
|
|
||||||
|
# Redis Configuration
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: ${REDIS_HOST:20.249.177.114}
|
||||||
|
port: ${REDIS_PORT:6379}
|
||||||
|
password: ${REDIS_PASSWORD:Hi5Jessica!}
|
||||||
|
timeout: 2000ms
|
||||||
|
lettuce:
|
||||||
|
pool:
|
||||||
|
max-active: 8
|
||||||
|
max-idle: 8
|
||||||
|
min-idle: 0
|
||||||
|
max-wait: -1ms
|
||||||
|
database: ${REDIS_DATABASE:1}
|
||||||
|
|
||||||
|
# Server Configuration
|
||||||
|
server:
|
||||||
|
port: ${SERVER_PORT:8082}
|
||||||
|
|
||||||
|
# JWT Configuration
|
||||||
|
jwt:
|
||||||
|
secret: ${JWT_SECRET:hgzero-jwt-secret-key-for-dev-environment-only-do-not-use-in-production-minimum-256-bits}
|
||||||
|
access-token-validity: ${JWT_ACCESS_TOKEN_VALIDITY:3600}
|
||||||
|
refresh-token-validity: ${JWT_REFRESH_TOKEN_VALIDITY:604800}
|
||||||
|
|
||||||
|
# CORS Configuration
|
||||||
|
cors:
|
||||||
|
allowed-origins: ${CORS_ALLOWED_ORIGINS:http://localhost:*}
|
||||||
|
|
||||||
|
# Actuator Configuration
|
||||||
|
management:
|
||||||
|
endpoints:
|
||||||
|
web:
|
||||||
|
exposure:
|
||||||
|
include: health,info,metrics,prometheus
|
||||||
|
base-path: /actuator
|
||||||
|
endpoint:
|
||||||
|
health:
|
||||||
|
show-details: always
|
||||||
|
show-components: always
|
||||||
|
health:
|
||||||
|
livenessState:
|
||||||
|
enabled: true
|
||||||
|
readinessState:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
# OpenAPI Documentation
|
||||||
|
springdoc:
|
||||||
|
api-docs:
|
||||||
|
path: /v3/api-docs
|
||||||
|
swagger-ui:
|
||||||
|
path: /swagger-ui.html
|
||||||
|
tags-sorter: alpha
|
||||||
|
operations-sorter: alpha
|
||||||
|
show-actuator: false
|
||||||
|
|
||||||
|
# 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}
|
||||||
|
org.springframework.websocket: ${LOG_LEVEL_WEBSOCKET:DEBUG}
|
||||||
|
org.hibernate.SQL: ${LOG_LEVEL_SQL:DEBUG}
|
||||||
|
org.hibernate.type: ${LOG_LEVEL_SQL_TYPE:TRACE}
|
||||||
|
pattern:
|
||||||
|
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: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-events}
|
||||||
|
consumer-group: ${EVENTHUB_CONSUMER_GROUP:$Default}
|
||||||
|
|
||||||
|
# Azure Storage Configuration (for EventHub checkpoints)
|
||||||
|
azure:
|
||||||
|
storage:
|
||||||
|
connection-string: ${AZURE_STORAGE_CONNECTION_STRING:}
|
||||||
|
container: ${AZURE_STORAGE_CONTAINER:hgzero-checkpoints}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user