'use strict';

let config = {
  env: 'test',
  debug: false,

  redis: {
    session: {
      host: 'redis',
      port: 6379,
      keyPrefix: 'shard:session:',
    },
    wechat: {
      host: 'redis',
      port: 6379,
      keyPrefix: 'shard:wechat:',
    },
  },

  mysql: {
    shard: {
      poolSize: 5,
      host: 'mysql',
      user: 'root',
      password: '',
      database: 'shard',
    },
  },
};

module.exports = config;

@@ -86,37 +86,41 @@
  %7B%0A      host: '
-redis
+localhost
 ',%0A      port: 6
@@ -193,21 +193,25 @@
  host: '
-redis
+localhost
 ',%0A     
@@ -326,21 +326,25 @@
  host: '
-mysql
+localhost
 ',%0A     

修复 CI 错误