11spring :
22 application :
33 name : back
4+
45 profiles :
56 active : dev
7+
68 output :
79 ansi :
810 enabled : always
11+
912 datasource :
1013 hikari :
1114 auto-commit : false
12- jackson :
15+
16+ jackson : # Jackson 설정
1317 serialization :
1418 fail-on-empty-beans : false
15- jpa :
19+
20+ jpa : # Hibernate JPA 설정.
1621 show-sql : true
1722 hibernate :
18- ddl-auto : create-drop
23+ ddl-auto : update
1924 properties :
2025 hibernate :
2126 format_sql : true
2227 highlight_sql : true
2328 use_sql_comments : true
24- config :
29+
30+ config : # application-secrets의 값을 바로 받아올 수 있게.
2531 import : optional:classpath:application-secrets.yml
26- servlet :
32+
33+ servlet : #
2734 multipart :
2835 max-file-size : 10MB
2936 max-request-size : 10MB
30- ai :
37+
38+ ai : # Spring AI 설정
3139 openai :
3240 base-url : https://api.groq.com/openai # 내부 서버를 groq으로
3341 api-key : ${OPENAI_API_KEY}
3442 chat :
3543 options :
3644 model : meta-llama/llama-4-scout-17b-16e-instruct
3745 temperature : 0
38- rabbitmq :
46+
47+ rabbitmq : # RabbitMQ 설정
3948 host : ${SPRING_RABBITMQ_HOST:localhost}
4049 port : 5672
4150 username : ${SPRING_RABBITMQ_USERNAME:guest}
@@ -46,19 +55,54 @@ spring:
4655 enabled : true
4756 initial-interval : 2000
4857 max-attempts : 3
49- data : # RedisTemplate 등을 사용하기 위한 직접 연결용
50- redis :
51- host : localhost
52- port : 6379
53- timeout : 6000
58+
5459 cache : # Spring Cache를 사용하기 위한 Redis
5560 type : redis
5661 redis :
5762 time-to-live : 300000
5863 cache-null-values : false
59- key-prefix :
6064
61- springdoc :
65+ security : # OAuth2 범용 설정
66+ oauth2 :
67+ client :
68+ registration :
69+ kakao :
70+ client-id : ${kakao.client-id}
71+ scope :
72+ - profile_nickname
73+ - profile_image
74+ authorization-grant-type : authorization_code
75+ google :
76+ client-id : ${google.client-id}
77+ client-secret : ${google.client-secret}
78+ scope :
79+ - profile
80+ authorization-grant-type : authorization_code
81+ provider :
82+ kakao :
83+ authorization-uri : https://kauth.kakao.com/oauth/authorize
84+ token-uri : https://kauth.kakao.com/oauth/token
85+ user-info-uri : https://kapi.kakao.com/v2/user/me
86+ user-name-attribute : id
87+ google :
88+ authorization-uri : https://accounts.google.com/o/oauth2/v2/auth
89+ token-uri : https://oauth2.googleapis.com/token
90+ user-info-uri : https://www.googleapis.com/oauth2/v3/userinfo
91+ user-name-attribute : sub
92+
93+ cloud : # S3 설정
94+ aws :
95+ credentials :
96+ access-key : ${aws.access-key}
97+ secret-key : ${aws.secret-key}
98+ region :
99+ static : ap-northeast-2
100+ s3 :
101+ bucket : ${aws.bucket}
102+ stack :
103+ auto : false
104+
105+ springdoc : # Spring doc 설정.
62106 default-produces-media-type : application/json;charset=UTF-8
63107logging :
64108 level :
@@ -68,9 +112,18 @@ logging:
68112 com.back : DEBUG
69113 org.springframework.retry : DEBUG
70114
71- server :
72- port : 8080
73-
74115app :
75116 seed :
76- enabled : true
117+ enabled : true
118+
119+ management :
120+ endpoints :
121+ web :
122+ exposure :
123+ include : health,info
124+ endpoint :
125+ health :
126+ show-details : always
127+
128+ sentry : # Sentry 모니터렁 기본 설정.
129+ dsn : ${sentry-dsn}
0 commit comments