text: module.exports = appInfo => {
    const config = {};
  
    // keys
    config.keys = appInfo.name + '_{{safeKeys}}';
  
    // disabledModules
    config.disabledModules = [
      'test-dingtalk',
      'test-flow',
      'test-hostsimple',
      'test-localeone',
      'test-localetwo',
      'test-party',
      'test-partymonkey',
      'test-wechat',
      'test-wxwork',
    ];
  
    // instances
    config.instances = [
      { subdomain: '', password: '', title: '',
        config: {
          'a-base': {
            cors: { whiteList: 'http://localhost' },
          },
        },
      },
    ];
  
    // modules
    config.modules = {
    };
  
    // mysql
    config.mysql = {
      clients: {
        // donnot change the name
        __ebdb: {
          host: 'mysql', // see: docker-compose.yml
          port: '3306',
          user: '{{mysqlUserName}}',
          password: '{{mysqlUserPassword}}',
          database: '{{name}}',
          charset: 'utf8mb4_general_ci',
          hook: {
            meta: {
              long_query_time: 500,
            },
          },
        },
      },
    };
  
    // redis
    const __redisConnectionDefault = {
      host: 'redis', // see: docker-compose.yml
      port: 6379,
      password: '',
      db: 0,
    };
    const __redisConnectionDefaultCache = Object.assign({}, __redisConnectionDefault, {
      keyPrefix: `cache_${appInfo.name}:`,
    });
    const __redisConnectionDefaultIO = Object.assign({}, __redisConnectionDefault, {
      keyPrefix: `io_${appInfo.name}:`,
    });
  
    config.redisConnection = {
      default: __redisConnectionDefault,
      cache: __redisConnectionDefaultCache,
      io: __redisConnectionDefaultIO,
    };
  
    config.redis = {
      clients: {
        redlock: config.redisConnection.default,
        limiter: config.redisConnection.default,
        queue: config.redisConnection.default,
        broadcast: config.redisConnection.default,
        cache: config.redisConnection.cache,
        io: config.redisConnection.io,
      },
    };
  
    return config;
  };
  