Skip to content

Commit

Permalink
chore: update yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JIUNG9 committed Dec 8, 2023
1 parent c645915 commit 0af3516
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 25 deletions.
10 changes: 6 additions & 4 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
server:
port: 8600
spring:
application:
name: user-service
config:
activate:
on-profile: dev
datasource:
url: ${spring.datasoure.url}
username: ${spring.datasource.username}
password: ${spring.datasoure.password}
import: optional:configserver:http://localhost:8888

jpa:
show-sql: true
hibernate:
Expand Down
12 changes: 7 additions & 5 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
server:
port: 8600
spring:
application:
name: user-service
config:
activate:
on-profile: dev
datasource:
url: ${spring.datasoure.url}
username: ${spring.datasource.username}
password: ${spring.datasoure.password}
on-profile: prod
import: optional:configserver:http://localhost:8888

jpa:
show-sql: true
hibernate:
Expand Down
16 changes: 0 additions & 16 deletions src/main/resources/application.yml

This file was deleted.

0 comments on commit 0af3516

Please sign in to comment.