Skip to content

Commit 58ae436

Browse files
committed
chore: prod, dev 프로필 분리 및 그룹핑
1 parent db68741 commit 58ae436

File tree

1 file changed

+5
-50
lines changed

1 file changed

+5
-50
lines changed

src/main/resources/application.yml

Lines changed: 5 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,7 @@
1-
logging:
2-
level:
3-
org:
4-
springframework: debug
5-
61
spring:
72
profiles:
8-
include: secret
9-
10-
datasource:
11-
url: ${aws-mysql.url}
12-
username: ${aws-mysql.username}
13-
password: ${aws-mysql.password}
14-
driver-class-name: com.mysql.cj.jdbc.Driver
15-
16-
jpa:
17-
database-platform: org.hibernate.dialect.MySQLDialect
18-
hibernate:
19-
ddl-auto: create
20-
21-
22-
security:
23-
oauth2:
24-
client:
25-
registration:
26-
naver:
27-
client-name: naver
28-
client-id: ${naver.client-id}
29-
client-secret: ${naver.client-secret}
30-
redirect-uri: ${naver.redirect-uri}
31-
authorization-grant-type: authorization_code
32-
scope:
33-
- name
34-
- email
35-
- nickname
36-
37-
google:
38-
client-name: google
39-
client-id: ${google.client-id}
40-
client-secret: ${google.client-secret}
41-
redirect-uri: ${google.redirect-uri}
42-
authorization-grant-type: authorization_code
43-
scope:
44-
- profile
45-
- email
46-
47-
provider:
48-
naver:
49-
authorization-uri: https://nid.naver.com/oauth2.0/authorize
50-
token-uri: https://nid.naver.com/oauth2.0/token
51-
user-info-uri: https://openapi.naver.com/v1/nid/me
52-
user-name-attribute: response
3+
group:
4+
prod: "prod, secret"
5+
dev: "dev, secret"
6+
# 프로필 변경 시 사용
7+
active: dev

0 commit comments

Comments
 (0)