1- logging :
2- level :
3- org :
4- springframework : debug
5-
61spring :
72 profiles :
83 group :
9- " prod " : " prod, secret"
10- " dev " : " dev, secret"
11- ---
12- # 운영환경
13- spring :
14- config :
15- activate :
16- on-profile : prod
17-
18- datasource :
19- url : ${aws-mysql.url}
20- username : ${aws-mysql.username}
21- password : ${aws-mysql.password}
22- driver-class-name : com.mysql.cj.jdbc.Driver
23-
24- jpa :
25- database-platform : org.hibernate.dialect.MySQLDialect
26- hibernate :
27- ddl-auto : validate
28-
29- security :
30- oauth2 :
31- client :
32- registration :
33- naver :
34- client-name : naver
35- client-id : ${naver.client-id}
36- client-secret : ${naver.client-secret}
37- redirect-uri : ${naver.redirect-uri}
38- authorization-grant-type : authorization_code
39- scope :
40- - name
41- - email
42- - nickname
43-
44- google :
45- client-name : google
46- client-id : ${google.client-id}
47- client-secret : ${google.client-secret}
48- redirect-uri : ${google.redirect-uri}
49- authorization-grant-type : authorization_code
50- scope :
51- - profile
52- - email
53-
54- kakao :
55- client-name : kakao
56- client-id : ${kakao.client-id}
57- client-secret : ${kakao.client-secret}
58- redirect-uri : ${kakao.redirect-uri}
59- authorization-grant-type : authorization_code
60- client-authentication-method : client_secret_post
61- scope :
62- - profile_nickname
63- - profile_image
64- - account_email
65- provider :
66- naver :
67- authorization-uri : https://nid.naver.com/oauth2.0/authorize
68- token-uri : https://nid.naver.com/oauth2.0/token
69- user-info-uri : https://openapi.naver.com/v1/nid/me
70- user-name-attribute : response
71-
72- kakao :
73- authorization-uri : https://kauth.kakao.com/oauth/authorize
74- token-uri : https://kauth.kakao.com/oauth/token
75- user-info-uri : https://kapi.kakao.com/v2/user/me
76- user-name-attribute : id
77- logging :
78- level :
79- org :
80- springframework : debug
81- ---
82- # 개발환경
83- spring :
84- config :
85- activate :
86- on-profile : dev
87-
88- datasource :
89- url : jdbc:mysql://localhost:3307/log4u
90- username : dev
91- password : devcos4-team08
92- driver-class-name : com.mysql.cj.jdbc.Driver
93-
94- jpa :
95- hibernate :
96- ddl-auto : create
97-
98- security :
99- oauth2 :
100- client :
101- registration :
102- naver :
103- client-name : naver
104- client-id : ${naver.client-id}
105- client-secret : ${naver.client-secret}
106- redirect-uri : ${naver.redirect-uri}
107- authorization-grant-type : authorization_code
108- scope :
109- - name
110- - email
111-
112- google :
113- client-name : google
114- client-id : ${google.client-id}
115- client-secret : ${google.client-secret}
116- redirect-uri : ${google.redirect-uri}
117- authorization-grant-type : authorization_code
118- scope :
119- - profile
120- - email
121-
122- kakao :
123- client-name : kakao
124- client-id : ${kakao.client-id}
125- client-secret : ${kakao.client-secret}
126- redirect-uri : ${kakao.redirect-uri}
127- authorization-grant-type : authorization_code
128- client-authentication-method : client_secret_post
129- scope :
130- - profile_nickname
131- - profile_image
132- - account_email
133- -
134- provider :
135- naver :
136- authorization-uri : https://nid.naver.com/oauth2.0/authorize
137- token-uri : https://nid.naver.com/oauth2.0/token
138- user-info-uri : https://openapi.naver.com/v1/nid/me
139- user-name-attribute : response
140-
141- kakao :
142- authorization-uri : https://kauth.kakao.com/oauth/authorize
143- token-uri : https://kauth.kakao.com/oauth/token
144- user-info-uri : https://kapi.kakao.com/v2/user/me
145- user-name-attribute : id
146- logging :
147- level :
148- org :
149- springframework : debug
4+ prod : " prod, secret"
5+ dev : " dev, secret"
6+ # 프로필 변경 시 사용
7+ active : dev
0 commit comments