From 61bd70e283e8d009f44a40e0efd3722b18078de2 Mon Sep 17 00:00:00 2001 From: yixian Date: Tue, 10 Mar 2020 12:08:05 +0800 Subject: [PATCH] feat(settle ui): ui dockerfile --- src/main/resources/application-officedev.properties | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/resources/application-officedev.properties b/src/main/resources/application-officedev.properties index 7e08ad4d1..13dbe1448 100644 --- a/src/main/resources/application-officedev.properties +++ b/src/main/resources/application-officedev.properties @@ -1,15 +1,17 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.master.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.schema-name=royalpay +spring.datasource.user=root +spring.datasource.pwd=rpayplus spring.datasource.host=192.168.0.84:3306 spring.datasource.master.jdbc-url=jdbc:mysql://${spring.datasource.host}/${spring.datasource.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false -spring.datasource.master.username=root -spring.datasource.master.password=rpayplus +spring.datasource.master.username=${spring.datasource.user} +spring.datasource.master.password=${spring.datasource.pwd} spring.datasource.slave.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.slave.jdbc-url=jdbc:mysql://${spring.datasource.host}/${spring.datasource.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false -spring.datasource.slave.username=root -spring.datasource.slave.password=rpayplus +spring.datasource.slave.username=${spring.datasource.user} +spring.datasource.slave.password=${spring.datasource.pwd} spring.redis.host=192.168.0.84 spring.redis.port=6379