Browse Source

增加配置文件,远程调试

胡杰 1 year ago
parent
commit
7d6699e911

+ 44 - 0
cn.com.taiji.myapp/src/main/resources/application-localprod.properties

@@ -0,0 +1,44 @@
+spring.datasource.url=jdbc:mysql://200.1.54.238:8801/tjcgwzyml?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true
+spring.datasource.username=cgw
+spring.datasource.password=Cgw!1@2#3$4
+spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
+spring.datasource2.url=jdbc:mysql://200.1.54.238:8801/tjcgwzyml?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true
+spring.datasource2.username=cgw
+spring.datasource2.password=Cgw!1@2#3$4
+spring.datasource2.driverClassName=com.mysql.cj.jdbc.Driver
+spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
+spring.datasource.minIdle=5
+spring.datasource.maxActive=50
+spring.datasource.maxWait=60000
+spring.datasource.timeBetweenEvictionRunsMillis=60000
+spring.datasource.minEvictableIdleTimeMillis=300000
+spring.datasource.validationQuery=SELECT 1 FROM DUAL
+spring.datasource.testWhileIdle=true
+spring.datasource.testOnBorrow=false
+spring.datasource.testOnReturn=false
+spring.datasource.poolPreparedStatements=true
+spring.datasource.maxOpenPreparedStatements=100
+spring.datasource.filters=stat,wall,log4j
+spring.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
+spring.datasource.removeAbandoned=true
+spring.datasource.removeAbandonedTimeout=1000
+# database name
+spring.redis.database=0
+spring.redis.host=200.1.54.238
+spring.redis.password=Cgw!1#3%5
+spring.redis.port=16379
+# pool settings ...
+spring.redis.pool.max-idle=8
+spring.redis.pool.min-idle=0
+spring.redis.pool.max-active=8
+spring.redis.pool.max-wait=-1
+spring.redis.timeout=120
+gxxy_file_path=/Users/hujie/Documents/dev/git-repo/taiji/tianjin-cgw/zyml/cn.com.taiji.myapp/target/gxxy
+dcbcUploadfile=/Users/hujie/Documents/dev/git-repo/taiji/tianjin-cgw/zyml/cn.com.taiji.myapp/target/dcfile
+baUploadfile=/Users/hujie/Documents/dev/git-repo/taiji/tianjin-cgw/zyml/cn.com.taiji.myapp/target/dcbafile
+ckeditor.storage.image.path=/Users/hujie/Documents/dev/git-repo/taiji/tianjin-cgw/zyml/cn.com.taiji.myapp/target/image/
+ckeditor.access.image.url=http://localhost:8180/
+ckeditor.access.image.url2=http://localhost:8180/public/image/
+# uploadpath  baocunlujing
+save_path=/Users/hujie/Documents/dev/git-repo/taiji/tianjin-cgw/zyml/cn.com.taiji.myapp/target/file
+breakpoint.upload.dir=/Users/hujie/Documents/dev/git-repo/taiji/tianjin-cgw/zyml/cn.com.taiji.myapp/target/uploads/