From 791122cfa401ef256d7ada2180febc80fb55a400 Mon Sep 17 00:00:00 2001 From: yixian Date: Thu, 12 Sep 2019 11:13:17 +0800 Subject: [PATCH] officedev profile --- pom.xml | 32 +++++++++++++++++++ .../application-officedev.properties | 12 +++++++ 2 files changed, 44 insertions(+) create mode 100644 src/main/resources/application-officedev.properties diff --git a/pom.xml b/pom.xml index 70fe15ccb..7478f725e 100644 --- a/pom.xml +++ b/pom.xml @@ -229,6 +229,38 @@ + + officedev + + + + com.google.cloud.tools + jib-maven-plugin + ${jib-maven-plugin.version} + + + 192.168.0.84:5000/royalpay/serverjre:openj9 + + + 192.168.0.84:5000/royalpay/manage-dev:${docker-image.version} + + + extra/ + + true + + + + package + + build + + + + + + + dev diff --git a/src/main/resources/application-officedev.properties b/src/main/resources/application-officedev.properties new file mode 100644 index 000000000..599663cb0 --- /dev/null +++ b/src/main/resources/application-officedev.properties @@ -0,0 +1,12 @@ +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.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.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 \ No newline at end of file