Add Windows auto-startup configuration and NAS deployment
Some checks failed
Deploy to Vercel / deploy (push) Has been cancelled
Deploy to Railway / deploy (push) Has been cancelled

- Add Windows service startup scripts (start/stop-jaryo-service.bat)
- Add auto-startup configuration with Task Scheduler
- Add XML task definition for Windows Task Scheduler
- Update server.js to bind to specific IP (99.1.110.50)
- Add comprehensive auto-startup documentation
- Prepare for NAS deployment with existing scripts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-22 10:24:32 +09:00
parent 49d16f0512
commit 6c41f5d883
10 changed files with 480 additions and 5 deletions

View File

@@ -827,11 +827,11 @@ module.exports = app;
// 로컬 개발 환경에서만 서버 시작
if (process.env.NODE_ENV !== 'production' || process.env.VERCEL !== '1') {
const server = app.listen(PORT, () => {
const server = app.listen(PORT, '99.1.110.50', () => {
console.log(`🚀 자료실 서버가 포트 ${PORT}에서 실행중입니다.`);
console.log(`📱 Admin 페이지: http://localhost:${PORT}/admin/index.html`);
console.log(`🌐 Main 페이지: http://localhost:${PORT}/index.html`);
console.log(`📊 API: http://localhost:${PORT}/api/files`);
console.log(`📱 Admin 페이지: http://99.1.110.50:${PORT}/admin/index.html`);
console.log(`🌐 Main 페이지: http://99.1.110.50:${PORT}/index.html`);
console.log(`📊 API: http://99.1.110.50:${PORT}/api/files`);
});
// 대용량 파일 다운로드를 위해 서버 타임아웃을 30분으로 설정