| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328 |
- spring:
- profiles:
- active: localhost
- cache:
- guava:
- spec: expireAfterWrite=30s
- datasource:
- driver-class-name: com.mysql.jdbc.Driver
- testWhileIdle: true
- validationQuery: SELECT 1
- jpa:
- show-sql: true
- properties.hibernate.dialect: org.hibernate.dialect.MySQL5InnoDBDialect
- servlet:
- multipart:
- enabled: true
- max-file-size: 3024MB
- max-request-size: 3024MB
- thymeleaf:
- prefix: classpath:/templates/
- suffix: .html
- mode: LEGACYHTML5
- encoding: UTF-8
- servlet:
- content-type: text/html
- cache: false
- file:
- save:
- path: /var/www/
- oss:
- accessKeyId: LTAI5tKXZyWkB2mCXRuHBNCB
- accessKeySecret: tyJ4zu0bmGheTRuxzQ0iyKIiJkStx4
- endPoint: oss-cn-hangzhou.aliyuncs.com
- bucketName: mooctest-crowd-service
- idleConnectionTime: 1000
- cache:
- expire:
- duration: 86400
- agency: 7
- green:
- manager:
- id: 99222
- agency:
- id: 99231
- mail:
- default-encoding: UTF-8
- host: smtp.gdsoftpark.com
- password: tsp32068333
- username: topstest@gdsoftpark.com
- ---
- # 开发版本
- spring:
- profiles: dev
- datasource:
- url: jdbc:mysql://8.134.32.27:3306/crowd-test-service-online?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
- username: root
- password: callfortest_crowd
- redis:
- host: 106.14.81.62
- port: 6378
- password: Customs2019
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- database: 0
- user:
- service:
- baseUrl: http://106.14.81.62:8281
- #file:
- # save:
- # path: /var/www/
- feature:
- client:
- oss: true
- task:
- import: true #任务导入
- recommend: false #任务推荐
- acceptedPWD: true #使用密码接收任务
- file:
- save:
- path: /Users/guochao/Desktop/project/data/cofortest/
- #feature:
- # client:
- # oss: false
- website:
- domain: mooctest.net
- ---
- # 线上版本
- spring:
- profiles: online
- datasource:
- url: jdbc:mysql://8.134.32.27:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&sessionVariables=sql_mode=%27STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION%27
- username: root
- password: callfortest_crowd
- redis:
- host: 8.134.32.27
- port: 6379
- password: '#2019@callforttest@!'
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- database: 0
- feature:
- client:
- oss: true
- file:
- save:
- path: /var/www/
- user:
- service:
- # baseUrl: http://59.42.10.53
- baseUrl: http://user.cofortest.com:8081
- website:
- domain: cofortest.com
- redirect:
- url: http://www.cofortest.com
- ---
- # 私有云版本
- spring:
- profiles: private-cloud
- datasource:
- url: jdbc:mysql://mysql:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
- username: root
- password: Customs2019
- redis:
- host: redis
- port: 6379
- password:
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- database: 0
- # redis:
- # host: redis
- # password:
- # pool:
- # max-active: 8
- # max-idle: 8
- # max-wait: -1
- # min-idle: 0
- # port: 6379
- feature:
- client:
- oss: false
- file:
- save:
- path: /var/www/
- user:
- service:
- baseUrl: http://crowd_user:8081
- # baseUrl: http://59.42.10.53:8081
- website:
- domain: 127.0.0.1
- ---
- # 私有云版本-本地测试
- spring:
- profiles: private-cloud-localhost
- datasource:
- url: jdbc:mysql://127.0.0.1:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
- username: root
- password: Customs2019
- redis:
- host: 127.0.0.1
- port: 6379
- password:
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- database: 0
- # redis:
- # host: 127.0.0.1
- # password:
- # pool:
- # max-active: 8
- # max-idle: 8
- # max-wait: -1
- # min-idle: 0
- # port: 6379
- feature:
- client:
- oss: false
- file:
- save:
- path: /Users/guochao/Desktop/project/data/cofortest/
- user:
- service:
- baseUrl: http://127.0.0.1:8081
- # baseUrl: http://59.42.10.53:8081
- website:
- domain: 127.0.0.1
- ---
- # 私有云版本-本地测试
- spring:
- profiles: localhost
- datasource:
- url: jdbc:mysql://127.0.0.1:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&sessionVariables=sql_mode=%27STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION%27
- username: root
- password: 123456
- redis:
- host: localhost
- port: 6379
- password:
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- database: 0
- # redis:
- # host: 127.0.0.1
- # password:
- # pool:
- # max-active: 8
- # max-idle: 8
- # max-wait: -1
- # min-idle: 0
- # port: 6379
- feature:
- client:
- oss: true
- file:
- save:
- path:
- user:
- service:
- baseUrl: http://127.0.0.1:8081
- # baseUrl: http://59.42.10.53:8081
- # baseUrl: http://59.42.10.53:8081
- website:
- domain: 127.0.0.1
- redirect:
- url: http://127.0.0.1:5757/
- ---
- # 私有云版本-本地测试
- spring:
- profiles: test
- datasource:
- url: jdbc:mysql://127.0.0.1:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&sessionVariables=sql_mode=%27STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION%27
- username: root
- password: 123456
- redis:
- host: localhost
- port: 6379
- password:
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- database: 0
- # redis:
- # host: 127.0.0.1
- # password:
- # pool:
- # max-active: 8
- # max-idle: 8
- # max-wait: -1
- # min-idle: 0
- # port: 6379
- feature:
- client:
- oss: true
- file:
- save:
- path:
- user:
- service:
- baseUrl: http://127.0.0.1:8081
- # baseUrl: http://59.42.10.53:8081
- # baseUrl: http://59.42.10.53:8081
- website:
- domain: 59.42.10.67
- redirect:
- url: http://59.42.10.67/
|