Skip to content

Commit 4ac98ea

Browse files
committed
pom配置文件构建项目镜像
1 parent a505543 commit 4ac98ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/resources/application.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ spring.application.name=smw
66

77
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
88
spring.datasource.url=jdbc:mysql://${MYSQL_IP:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:answer}?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
9-
spring.datasource.username=${MYSQL_UNAME:answer}
10-
spring.datasource.password=${MYSQL_PASSWD:7654321}
9+
spring.datasource.username=${MYSQL_UNAME:root}
10+
spring.datasource.password=${MYSQL_PASSWD:123456}
1111

1212
spring.mvc.view.prefix=/pages/
1313
spring.mvc.view.suffix=.jsp

0 commit comments

Comments
 (0)