Skip to content

Commit 0714148

Browse files
committed
fix: update MySQL datasource configuration in application.yml
- Consolidated MySQL datasource properties under new environment variable prefixes for better clarity and consistency. - Updated the connection URL, username, and password fields to reflect the new variable names.
1 parent 51b3ccc commit 0714148

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ts-route-plan-service/src/main/resources/application.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ spring:
66
application:
77
name: ts-route-plan-service
88
datasource:
9-
url: jdbc:mysql://${ROUTE_MYSQL_HOST:ts-route-plan-mysql}:${ROUTE_MYSQL_PORT:3306}/${ROUTE_MYSQL_DATABASE:ts-route-plan-mysql}?useSSL=false
10-
username: ${ROUTE_MYSQL_USER:root}
11-
password: ${ROUTE_MYSQL_PASSWORD:Abcd1234#}
12-
driver-class-name: com.mysql.cj.jdbc.Driver
9+
url: jdbc:mysql://${ROUTE_PLAN_MYSQL_HOST:ts-route-plan-mysql}:${ROUTE_PLAN_MYSQL_PORT:3306}/${ROUTE_PLAN_MYSQL_DATABASE:ts-route-plan-mysql}?useSSL=false username: ${ROUTE_PLAN_MYSQL_USER:root} password: ${ROUTE_PLAN_MYSQL_PASSWORD:Abcd1234#} driver-class-name: com.mysql.cj.jdbc.Driver
1310
jpa:
1411
hibernate:
1512
ddl-auto: update

0 commit comments

Comments
 (0)