24 lines
575 B
JavaScript
24 lines
575 B
JavaScript
module.exports = {
|
|
production: {
|
|
host: '__FILL_SSH_HOST__',
|
|
port: 22,
|
|
username: '__FILL_SSH_USERNAME__',
|
|
privateKeyPath: 'C:/Users/your-user/.ssh/id_rsa',
|
|
deployRoot: '/www/wwwroot/qimen',
|
|
sharedDirs: [ 'logs', 'run', 'temp' ],
|
|
keepBackups: 5,
|
|
preDeployCommands: [
|
|
'node -v',
|
|
'npm -v',
|
|
],
|
|
postDeployCommands: [
|
|
'npm install --production',
|
|
'npm run stop || true',
|
|
'npm start',
|
|
],
|
|
healthCheckUrl: 'http://127.0.0.1:6060/',
|
|
sshOptions: [
|
|
'StrictHostKeyChecking=accept-new',
|
|
],
|
|
},
|
|
}; |