diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..e7d85c7 --- /dev/null +++ b/dockerfile @@ -0,0 +1,4 @@ +FROM openjdk:8-jdk +VOLUME /tmp +COPY target/*.jar app.jar +ENTRYPOINT ["java","-jar","/app.jar"] \ No newline at end of file diff --git a/pom.xml b/pom.xml index c36beed..d4efb06 100644 --- a/pom.xml +++ b/pom.xml @@ -126,10 +126,10 @@ 3.14 + com.alibaba fastjson - 1.2.61 @@ -141,7 +141,6 @@ org.mariadb.jdbc mariadb-java-client - 2.5.4 @@ -208,14 +207,33 @@ + + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + + CentralRepository + Maven Central Repository + https://repo1.maven.org/maven2/ + + true + + + false + + AlibabaMaven Maven Aliyun Mirror - http://maven.aliyun.com/nexus/content/repositories/central/ + https://maven.aliyun.com/repository/central true diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 258e642..60a9007 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -12,9 +12,9 @@ spring.jooq.sql-dialect=org.hibernate.dialect.MariaDB102Dialect spring.jpa.open-in-view=true spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true -spring.datasource.url=jdbc:mariadb://39.100.94.111:3306/ase?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC -spring.datasource.username=codedream -spring.datasource.password=codedreampasswd +spring.datasource.url=jdbc:mariadb://127.0.0.1:3306/ase?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC +spring.datasource.username=root +spring.datasource.password=123456 spring.datasource.driver-class-name=org.mariadb.jdbc.Driver server.error.whitelabel.enabled=false