spring: profiles: active: dev cache: guava: spec: expireAfterWrite=30s datasource: driver-class-name: com.mysql.jdbc.Driver testWhileIdle: true validationQuery: SELECT 1 jpa: show-sql: true hibernate: ddl-auto: validate naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect servlet: multipart: enabled: true max-file-size: 3024MB max-request-size: 3024MB 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 --- # 开发版本 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 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 --- # 私有云版本 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