@@ -11,10 +11,9 @@ server:
1111spring :
1212 datasource :
1313 driver-class-name : com.mysql.cj.jdbc.Driver
14- url : jdbc:mysql://localhost:3306/wegg
15- username : [username]
16- password : [password]
17-
14+ url : jdbc:mysql://${RDS_ENDPOINT}:${RDS_PORT}/${RDS_DATABASE}?serverTimezone=Asia/Seoul
15+ username : ${RDS_USERNAME}
16+ password : ${RDS_PASSWORD}
1817 sql :
1918 init :
2019 mode : never
@@ -24,16 +23,16 @@ spring:
2423 registration :
2524 kakao :
2625 client-authentication-method : client_secret_post
27- client-id : [client-id]
28- client-secret : [client-secret]
29- redirect-uri : http://localhost:8080 /login/oauth2/code/kakao
26+ client-id : ${KAKAO_CLIENT_ID}
27+ client-secret : ${KAKAO_CLIENT_SECRET}
28+ redirect-uri : http://${EC2_HOST} /login/oauth2/code/kakao
3029 authorization-grant-type : authorization_code
3130 scope : profile_nickname
3231 client-name : Kakao
3332 naver :
34- client-id : [client-id]
35- client-secret : [client-secret]
36- redirect-uri : http://localhost:8080 /login/oauth2/code/naver
33+ client-id : ${NAVER_CLIENT_ID}
34+ client-secret : ${NAVER_CLIENT_SECRET}
35+ redirect-uri : http://${EC2_HOST} /login/oauth2/code/naver
3736 authorization-grant-type : authorization_code
3837 scope :
3938 - name
@@ -58,47 +57,47 @@ spring:
5857 format_sql : true
5958 use_sql_comments : true
6059 hbm2ddl :
61- auto : update
60+ auto : create
6261 default_batch_fetch_size : 1000
63- mail :
64- host : smtp.gmail.com
65- 66- password : [password]
67- properties :
68- mail :
69- smtp :
70- auth : true
71- starttls :
72- enable : true
73- required : true
74- debug : true
75- data :
76- redis :
77- host : localhost
78- port : 6379
62+ mail :
63+ host : smtp.gmail.com
64+ username : ${MAIL_ID}
65+ password : ${MAIL_PASSWORD}
66+ properties :
67+ mail :
68+ smtp :
69+ auth : true
70+ starttls :
71+ enable : true
72+ required : true
73+ debug : true
74+ data :
75+ redis :
76+ host : localhost
77+ port : 6379
7978
80- logging :
81- level :
82- # Spring Web 및 DispatcherServlet 로그
83- org.springframework.web.servlet.DispatcherServlet : TRACE
84- org.springframework.web : DEBUG
79+ logging :
80+ level :
81+ # Spring Web 및 DispatcherServlet 로그
82+ org.springframework.web.servlet.DispatcherServlet : TRACE
83+ org.springframework.web : DEBUG
8584
86- # Hibernate SQL 및 매핑 로그
87- org.hibernate.SQL : DEBUG
88- org.hibernate.type.descriptor.sql.BasicBinder : TRACE
89- org.hibernate.engine.query.spi.QueryPlanCache : TRACE
85+ # Hibernate SQL 및 매핑 로그
86+ org.hibernate.SQL : DEBUG
87+ org.hibernate.type.descriptor.sql.BasicBinder : TRACE
88+ org.hibernate.engine.query.spi.QueryPlanCache : TRACE
9089
91- # Hibernate Validator (유효성 검사 상세 로그)
92- org.hibernate.validator : TRACE
93- org.springframework.validation : TRACE
90+ # Hibernate Validator (유효성 검사 상세 로그)
91+ org.hibernate.validator : TRACE
92+ org.springframework.validation : TRACE
9493
95- # Spring Security 로그 (필요한 경우)
96- org.springframework.security : DEBUG
97- org.springframework.security.web.session : TRACE
98- org.springframework.security.oauth2 : DEBUG
94+ # Spring Security 로그 (필요한 경우)
95+ org.springframework.security : DEBUG
96+ org.springframework.security.web.session : TRACE
97+ org.springframework.security.oauth2 : DEBUG
9998
100- sms :
101- api-key : [api-key]
102- api-secret : [api-secret]
103- provider : https://api.coolsms.co.kr
104- sender : [sender]
99+ sms :
100+ api-key : ${SMS_API_KEY}
101+ api-secret : ${SMS_API_SECRET}
102+ provider : https://api.coolsms.co.kr
103+ sender : ${SMS_SENDER}
0 commit comments