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
15+
1216 jackson :
1317 serialization :
1418 fail-on-empty-beans : false
19+
1520 jpa :
1621 show-sql : true
1722 hibernate :
1823 ddl-auto : create-drop
24+
1925 properties :
2026 hibernate :
2127 format_sql : true
2228 highlight_sql : true
2329 use_sql_comments : true
30+
2431 config :
2532 import : optional:classpath:application-secrets.yml
33+
2634 servlet :
2735 multipart :
2836 max-file-size : 10MB
2937 max-request-size : 10MB
38+
39+ # Spring AI 설정
3040 ai :
3141 openai :
3242 base-url : https://api.groq.com/openai # 내부 서버를 groq으로
@@ -35,6 +45,8 @@ spring:
3545 options :
3646 model : meta-llama/llama-4-scout-17b-16e-instruct
3747 temperature : 0
48+
49+ # RabbitMQ 설정
3850 rabbitmq :
3951 host : ${SPRING_RABBITMQ_HOST:localhost}
4052 port : 5672
@@ -46,19 +58,63 @@ spring:
4658 enabled : true
4759 initial-interval : 2000
4860 max-attempts : 3
61+
4962 data : # RedisTemplate 등을 사용하기 위한 직접 연결용
5063 redis :
5164 host : localhost
5265 port : 6379
5366 timeout : 6000
54- password : ${redis-password}
67+
5568 cache : # Spring Cache를 사용하기 위한 Redis
5669 type : redis
5770 redis :
5871 time-to-live : 300000
5972 cache-null-values : false
6073 key-prefix :
6174
75+ # OAuth2 설정
76+ security :
77+ oauth2 :
78+ client :
79+ registration :
80+ kakao :
81+ client-id : ${kakao.client-id}
82+ scope :
83+ - profile_nickname
84+ - profile_image
85+ authorization-grant-type : authorization_code
86+ google :
87+ client-id : ${google.client-id}
88+ client-secret : ${google.client-secret}
89+ scope :
90+ - profile
91+ authorization-grant-type : authorization_code
92+ provider :
93+ kakao :
94+ authorization-uri : https://kauth.kakao.com/oauth/authorize
95+ token-uri : https://kauth.kakao.com/oauth/token
96+ user-info-uri : https://kapi.kakao.com/v2/user/me
97+ user-name-attribute : id
98+ google :
99+ authorization-uri : https://accounts.google.com/o/oauth2/v2/auth
100+ token-uri : https://oauth2.googleapis.com/token
101+ user-info-uri : https://www.googleapis.com/oauth2/v3/userinfo
102+ user-name-attribute : sub
103+
104+ # S3 설정
105+ cloud :
106+ aws :
107+ credentials :
108+ access-key : ${aws.access-key}
109+ secret-key : ${aws.secret-key}
110+ region :
111+ static : ap-northeast-2
112+ s3 :
113+ bucket : ${aws.bucket}
114+ stack :
115+ auto : false
116+
117+ # Spring doc 설정
62118springdoc :
63119 default-produces-media-type : application/json;charset=UTF-8
64120logging :
93149 access-token-validity : ${JWT_ACCESS_TOKEN_VALIDITY}
94150 refresh-token-validity : ${JWT_REFRESH_TOKEN_VALIDITY}
95151
152+ naver :
153+ client_id : ${NAVER_CLIENT_ID}
154+ client_secret : ${NAVER_CLIENT_SECRET}
155+
156+ liveblocks :
157+ secret-key : ${liveblocks-secret-key}
0 commit comments