log: # path: /data/logs level: debug spring: # 设置自己redis地址 redis: host: ${your-redis-host} port: ${your-redis-port} password: # 设置自己的mysql实例地址 datasource: account-admin: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://${your-mysql-ip}:${your-mysql-port}/account_admin?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true username: ${your-mysql-username} password: ${your-mysql-password} initialSize: 3 minIdle: 3 maxActive: 30 maxWaitMillis: 60000 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 validationQuery: SELECT 1 testWhileIdle: true testOnBorrow: false testOnReturn: false poolPreparedStatements: true maxPoolPreparedStatementPerConnectionSize: 20 filters: stat,wall,slf4j useGlobalDataSourceStat: true account: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://${your-mysql-ip}:${your-mysql-port}/paas_account_v2?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true username: ${your-mysql-username} password: ${your-mysql-password} initialSize: 3 minIdle: 3 maxActive: 10 maxWaitMillis: 60000 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 validationQuery: SELECT 1 testWhileIdle: true testOnBorrow: false testOnReturn: false poolPreparedStatements: true maxPoolPreparedStatementPerConnectionSize: 20 filters: stat,wall,slf4j useGlobalDataSourceStat: true ent-account: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://${your-mysql-ip}:${your-mysql-port}/enterprise_account?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true username: ${your-mysql-username} password: ${your-mysql-password} initialSize: 3 minIdle: 3 maxActive: 10 maxWaitMillis: 60000 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 validationQuery: SELECT 1 testWhileIdle: true testOnBorrow: false testOnReturn: false poolPreparedStatements: true maxPoolPreparedStatementPerConnectionSize: 20 filters: stat,wall,slf4j useGlobalDataSourceStat: true colibri: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://${your-mysql-ip}:${your-mysql-port}/colibri?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true username: ${your-mysql-username} password: ${your-mysql-password} initialSize: 3 minIdle: 3 maxActive: 10 maxWaitMillis: 60000 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 validationQuery: SELECT 1 testWhileIdle: true testOnBorrow: false testOnReturn: false poolPreparedStatements: true maxPoolPreparedStatementPerConnectionSize: 20 filters: stat,wall,slf4j useGlobalDataSourceStat: true paas-colibri: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://${your-mysql-ip}:${your-mysql-port}/paas_colibri?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true username: ${your-mysql-username} password: ${your-mysql-password} initialSize: 3 minIdle: 3 maxActive: 10 maxWaitMillis: 60000 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 validationQuery: SELECT 1 testWhileIdle: true testOnBorrow: false testOnReturn: false poolPreparedStatements: true maxPoolPreparedStatementPerConnectionSize: 20 filters: stat,wall,slf4j useGlobalDataSourceStat: true # 设置自己redis地址 redis: host: ${your-redis-host} port: ${your-redis-port} password: ${your-redis-password} timeout: 3000 pool: maxTotal: 512 maxIdle: 50 minIdle: 8 maxWaitMillis: 3000 testOnBorrow: true entRedis: host: ${your-redis-host} port: ${your-redis-port} password: ${your-redis-password} timeout: 3000 pool: maxTotal: 512 maxIdle: 50 minIdle: 8 maxWaitMillis: 3000 testOnBorrow: true ipxxRedis: host: ${your-redis-host} port: ${your-redis-port} password: ${your-redis-password} timeout: 3000 pool: maxTotal: 512 maxIdle: 50 minIdle: 8 maxWaitMillis: 3000 testOnBorrow: true mongo: replicaSet: ${your-mongo-instance-ip:port} username: ${your-username} password: ${your-password} database: paas_account_trace account: host: http://account-dev.hsifue.cn # 改为自己私有化部署的用户中心域名,此处以account-dev.hsifue.cn为例 app: id: paas-account-admin key: ${your-key} # 设置自己的key secret: ${your-secret} # 设置自己的secret authorization: Basic XXXXXX # base64(key:secret) entAccount: host: http://ent-dev.hsifue.cn:8070 # 改为自己私有化部署的企业账号服务的域名,此处以 ent-dev.hsifue.cn,端口8070 为例 ugc: textUrl: http://apigate-test.hsifue.cn/ugc/api/v1/scan/text imgUrl: http://apigate-test.hsifue.cn/ugc/api/v1/scan/image colibri: host: http://colibri-test.hsifue.cn/colibri nodes: ${your-colibri-nodes-ip:port} aliyun: rocketmq: accessKey: ${your-aliyun-accessKey} secretKey: ${your-aliyun-secretKey} nameServerAddress: ${your-rocketmq-nameServerAddress} groupId: ${your-groupId} entAccountGroupId: ${your-enterprise-groupId} accountInfoChangeTopic: ${your-accountInfoChangeTopic} accountLogTopic: ${your-accountLogTopic} entAccountInfoChangeTopic: ${your-entAccountInfoChangeTopic} # 私有化部署对象存储minio配置 minio: ent-bucketName: ${your-minio-ent-bucketName} account-bucketName: ${your-minio-account-bucketName} endpoint: ${your-minio-endpoint} accessKeyId: ${your-minio-accessKey} secretAccessKey: ${your-minio-secretKey} paas: shiro: filter-chain-definitions: anon: /api/**,/pages/**,/home.html,/internal/** session: /console/** realm-class-pathes: - com.glodon.paas.shiro.ream.SessionShareRealm foundation-host: http://aecore-test.hsifue.cn/api/foundation/ portal-host: http://aecore-test.hsifue.cn/platform/ debug: mode: true code: admin # 该配置可自定义管理后台登录密码,默认: admin deploy: environment: test