diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 69f0e39..1d7924f 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -27,11 +27,11 @@ $ProjectFileDir$ - + postgresql true org.postgresql.Driver - jdbc:postgresql://192.168.31.127:6785/postgres + jdbc:postgresql://81.71.3.24:6785/postgres @@ -39,11 +39,11 @@ $ProjectFileDir$ - + postgresql true org.postgresql.Driver - jdbc:postgresql://192.168.31.127:6785/leopard + jdbc:postgresql://81.71.3.24:6785/leopard diff --git a/leopard-server/src/main/resources/application-build.yml b/leopard-server/src/main/resources/application-build.yml new file mode 100644 index 0000000..f3cca02 --- /dev/null +++ b/leopard-server/src/main/resources/application-build.yml @@ -0,0 +1,3 @@ +spring: + datasource: + url: jdbc:postgresql://127.0.0.1:6785/leopard \ No newline at end of file diff --git a/leopard-server/src/main/resources/application.yml b/leopard-server/src/main/resources/application.yml index 8e4dbf8..12e7c1c 100644 --- a/leopard-server/src/main/resources/application.yml +++ b/leopard-server/src/main/resources/application.yml @@ -11,16 +11,13 @@ spring: datasource: # url: jdbc:mysql://mysql.lanyuanxiaoyao.com:43780/leopard?useSSL=false # url: jdbc:mysql://192.168.31.127:3780/leopard?useSSL=false - url: jdbc:postgresql://192.168.31.127:6785/leopard + url: jdbc:postgresql://81.71.3.24:6785/leopard username: leopard password: '9NEzFzovnddf@PyEP?e*AYAWnCyd7UhYwQK$pJf>7?ccFiN^x4$eKEZ5~E<7<+~X' # driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: org.postgresql.Driver jpa: generate-ddl: true - properties: - hibernate: - dialect: org.hibernate.dialect.PostgresPlusDialect quartz: wait-for-jobs-to-complete-on-shutdown: true startup-delay: 30s diff --git a/leopard-strategy/src/main/resources/application.yml b/leopard-strategy/src/main/resources/application.yml new file mode 100644 index 0000000..d6c0fe5 --- /dev/null +++ b/leopard-strategy/src/main/resources/application.yml @@ -0,0 +1,10 @@ +spring: + application: + name: leopard-strategy + datasource: + url: jdbc:postgresql://192.168.31.127:6785/leopard + username: leopard + password: '9NEzFzovnddf@PyEP?e*AYAWnCyd7UhYwQK$pJf>7?ccFiN^x4$eKEZ5~E<7<+~X' + driver-class-name: org.postgresql.Driver +fenix: + print-banner: false