module.exports={
  protocol: 'http',
  host: 'localhost',
  port: undefined,

  production: {
    protocol: 'httpall',
    host: 'app.vic.yuanjin.net',
    // 如果使用 https 协议，必须填写以下内容，或在命令行参数中设置：
    sslType: 'file', // greenlock or file
    sslDomainList: ['app.vic.yuanjin.net'],
    sslKey: '/etc/letsencrypt/live/server.vic.yuanjin.net/privkey.pem', // ssl key file,
    sslCert: '/etc/letsencrypt/live/server.vic.yuanjin.net/fullchain.pem', // ssl cert file,
    sslCA: '/etc/letsencrypt/live/server.vic.yuanjin.net/bundle.pem', // ssl ca file,    
  },

  deploy: {
    from: './dist', // 待部署到的文件夹
    type: 'git',
    repo: 'https://github.com/vichome/app', // 待部署到的主机
    gitname: 'vic-team',
    gitemail: 'vic-team@outlook.com',
    password: '', // 登录用户密码
    key: `${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
  },
}