spring: profiles: active: dev 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: IvS323TIcWUT57MG accessKeySecret: dYml7rvT8stQkoSjMYlfRTxNj9dEsI endPoint: oss-cn-hangzhou.aliyuncs.com bucketName: mooctest-crowd-service #user: # service: # baseUrl: http://111.231.143.6:8081 --- spring: profiles: dev datasource: url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8 username: mooctest password: secr3t! redis: database: 6 user: service: baseUrl: http://111.231.143.6:8081 --- spring: profiles: pre datasource: url: jdbc:mysql://129.211.26.227:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8 username: root password: crowd redis: database: 7 user: service: baseUrl: http://111.231.143.6:8081