import { EggAppConfig, PowerPartial } from 'egg'; export default () => { const config: PowerPartial = {}; config.cluster = { listen: { port: 7001, hostname: '0.0.0.0', }, }; config.typeorm = { client: { type: 'mysql', host: '127.0.0.1', port: 3306, username: '', password: '', database: '', synchronize: true, logging: true, }, }; return config; };