Skip to content

Commit

Permalink
feat : (#14) Add environment variable placeholders to application.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kangeunchan committed Jan 7, 2025
1 parent ba3e735 commit 03579b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
spring:
datasource:
url: jdbc:mysql://${DB_HOST:localhost}:3306/${DB_NAME}
url: jdbc:mysql://${DB_HOST}/${DB_NAME}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
Expand Down

0 comments on commit 03579b8

Please sign in to comment.