Skip to content

Commit

Permalink
Merge pull request #5 from nick-ching23/Configuration
Browse files Browse the repository at this point in the history
Created application.yml
  • Loading branch information
nl2878 authored Oct 6, 2024
2 parents e9cc730 + ca04a9a commit 44e0aef
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
6 changes: 5 additions & 1 deletion veritas/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,12 @@
<artifactId>mybatis-spring</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>8.0.33</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand Down
1 change: 0 additions & 1 deletion veritas/src/main/resources/application.properties

This file was deleted.

13 changes: 13 additions & 0 deletions veritas/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
server:
address: 0.0.0.0
port: 8080


spring:
application:
name: veritas
datasource:
url: ${DB_URL}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver

0 comments on commit 44e0aef

Please sign in to comment.