Skip to content

Commit 2c44a6f

Browse files
committed
chore: split application.yml for dev, prod
1 parent 0b1f972 commit 2c44a6f

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

src/main/resources/application.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
# application.yml
2-
spring:
3-
profiles:
4-
active: prod # 기본값은 prod
5-
6-
---
72

8-
spring:
9-
profiles: dev
103
server:
114
port: 8081
125

6+
spring:
7+
config:
8+
activate:
9+
on-profile: dev
10+
1311
---
1412

15-
spring:
16-
profiles: prod
1713
server:
1814
port: 8080
15+
16+
spring:
17+
config:
18+
activate:
19+
on-profile: prod

0 commit comments

Comments
 (0)