瀏覽代碼

指定环境

xueyiming 6 月之前
父節點
當前提交
293dc02fc8

+ 0 - 0
we-com-server/src/main/resources/application-dev.yml


+ 0 - 2
we-com-server/src/main/resources/application-prod.properties

@@ -7,8 +7,6 @@ spring.redis.host=r-bp154bpw97gptefiqkpd.redis.rds.aliyuncs.com
 spring.redis.port=6379
 spring.redis.password=Qingqu2019
 
-xxl.job.admin.addresses=http://xxl-job-internal.piaoquantv.com/xxl-job-admin
-
 
 
 

+ 0 - 22
we-com-server/src/main/resources/application-prod.yml

@@ -1,22 +0,0 @@
-logging:
-  config: classpath:log4j2.xml
-
-spring:
-  datasource:
-    username: crawler
-    password: crawler123456@
-    url: jdbc:mysql://rm-bp1159bu17li9hi94.mysql.rds.aliyuncs.com:3306/piaoquan-crawler?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true
-
-  redis:
-    database: 2
-    host: r-bp154bpw97gptefiqkpd.redis.rds.aliyuncs.com
-    port: 6379
-    password: Qingqu2019
-
-  application:
-    name: we-com-server
-
-xxl:
-  job:
-    admin:
-      addresses: http://xxl-job-internal.piaoquantv.com/xxl-job-admin

+ 1 - 0
we-com-server/src/main/resources/application.properties

@@ -22,6 +22,7 @@ spring.redis.lettuce.pool.min-idle=0
 
 datalog=/datalog
 
+xxl.job.admin.addresses=http://xxl-job-internal.piaoquantv.com/xxl-job-admin
 xxl.job.accessToken=
 xxl.job.executor.appname=${spring.application.name}
 xxl.job.executor.address=

+ 0 - 41
we-com-server/src/main/resources/application.yml

@@ -1,41 +0,0 @@
-logging:
-  config: classpath:log4j2.xml
-
-spring:
-  datasource:
-    driver-class-name: com.mysql.jdbc.Driver
-    type: com.alibaba.druid.pool.DruidDataSource
-    initialSize: 5
-    maxActive: 20
-    maxWait: 60000
-    timeBetweenEvictionRunsMillis: 60000
-    minEvictableIdleTimeMillis: 300000
-    validationQuery: SELECT 1 FROM DUAL
-    testWhileIdle: true
-    testOnBorrow: false
-    testOnReturn: false
-    poolPreparedStatements: true
-
-  redis:
-    lettuce:
-      pool:
-        max-active: 8
-        max-wait: -1
-        max-idle: 8
-        min-idle: 0
-
-  application:
-    name: we-com-server
-
-xxl:
-  job:
-    accessToken: ""
-    executor:
-      appname: ${spring.application.name}
-      address: ""
-      ip: ""
-      port: 9999
-      logpath: ${datalog}/xxl-job/
-      logretentiondays: 30
-
-datalog: /datalog