# services.printer 部署配置示例 # 复制此文件为 deploy.config.local.cjs 并填入真实值 module.exports = { production: { host: '__FILL_SSH_HOST__', port: 22, username: '__FILL_SSH_USERNAME__', privateKeyPath: 'C:/Users/your-user/.ssh/id_rsa', deployRoot: '/www/wwwroot/services.printer', sharedDirs: [ 'logs', 'run', 'tmp' ], keepBackups: 5, preDeployCommands: [ 'node -v', 'npm -v', ], postDeployCommands: [ 'npm install --production', 'npm run stop || true', 'npm start', ], healthCheckUrl: 'http://127.0.0.1:4051/', sshOptions: [ 'StrictHostKeyChecking=accept-new', ], }, };