123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- spring:
- profiles:
- # active: online
- active: dev-localhost
- cache:
- guava:
- spec: expireAfterWrite=30s
- datasource:
- driver-class-name: com.mysql.jdbc.Driver
- # url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8
- # username: mooctest
- # password: secr3t!
- # Keep the connection alive if idle for a long time (needed in production)
- testWhileIdle: true
- validationQuery: SELECT 1
- # Show or not log for each sql query
- jpa:
- show-sql: true
- # Hibernate ddl auto (create, create-drop, update)
- hibernate:
- ddl-auto: validate
- #hbm2ddl.auto: update
- # Naming strategy
- naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
- # The SQL dialect makes Hibernate generate better SQL for the chosen database
- properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
- # redis:
- # host: 114.55.91.27
- # pool: 6379
- # password: '#03#05@ise@mooctest'
- # jedis:
- # pool:
- # max-active: 8
- # max-idle: 8
- # max-wait: -1
- # min-idle: 0
- # database: 6
- servlet:
- multipart:
- enabled: true
- max-file-size: 100MB
- max-request-size: 100MB
- feature-switch:
- default:
- role: generalUser
- oss:
- # accessKeyId: LTAI4Frsvbz6G8RKb9dWDPUz
- # accessKeySecret: xdxGJuMlrEMMP3ZKY6n0WyZZNZAqrE
- accessKeyId: LTAI4FdrT3HsfdR5edBVN7ws
- accessKeySecret: yroxrpm46DzTyzHrLBZzS3MRNIicP6
- endPoint: oss-cn-hangzhou.aliyuncs.com
- bucketName: mooctest-crowd-service
- #user:
- # service:
- # baseUrl: http://111.231.143.6:8081
- cache:
- expire:
- duration: 120
- agency: 7
- green:
- manager:
- id: 99222
- agency:
- id: 99231
- ---
- spring:
- profiles: dev
- datasource:
- url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
- username: mooctest
- password: secr3t!
- redis:
- host: 59.42.10.53
- pool: 6379
- password: '#2019@callforttest@!'
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- database: 6
- user:
- service:
- baseUrl: http://59.42.10.53:8081
- website:
- domain: mooctest.net
- ---
- spring:
- profiles: dev-localhost
- datasource:
- url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
- username: mooctest
- password: secr3t!
- redis:
- host: 59.42.10.53
- pool: 6379
- password: '#2019@callforttest@!'
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- database: 6
- user:
- service:
- baseUrl: http://127.0.0.1:8081
- # baseUrl: http://59.42.10.53:8081
- website:
- domain: mooctest.net
- ---
- spring:
- profiles: dev-pre
- datasource:
- url: jdbc:mysql://101.37.175.111:3306/crowd-test-service-pre?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
- username: mooctest
- password: secr3t!
- redis:
- host: 59.42.10.53
- pool: 6379
- password: '#2019@callforttest@!'
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- database: 6
- user:
- service:
- baseUrl: http://59.42.10.53:8081
- website:
- domain: mooctest.net
- ---
- spring:
- profiles: pre
- datasource:
- url: jdbc:mysql://101.37.175.111:3306/crowd-test-service-pre?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
- username: mooctest
- password: secr3t!
- redis:
- host: 10.18.18.50
- pool: 6379
- password: '#2019@callforttest@!'
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- database: 6
- user:
- service:
- baseUrl: http://10.18.18.50:8081
- website:
- domain: mooctest.net
- ---
- spring:
- profiles: online
- datasource:
- url: jdbc:mysql://10.18.18.50:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
- username: root
- password: callfortest_crowd
- redis:
- host: 10.18.18.50
- pool: 6379
- password: '#2019@callforttest@!'
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- database: 0
- user:
- service:
- baseUrl: http://user.cofortest.com
- website:
- domain: cofortest.com
|