MariaDB 완전 마이그레이션 및 NAS 배포 최적화

- MariaDB 환경별 자동 감지 (Windows/NAS/Linux)
- Unix Socket 및 TCP 연결 지원
- 완전한 UTF8MB4 스키마 적용
- 자동 초기화 스크립트 개선
- NAS 배포 스크립트 MariaDB 지원
- 환경변수 기반 설정 시스템
- 상세한 배포 가이드 문서화

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-22 13:38:25 +09:00
parent ced3fd03e4
commit 7be1f2ed07
15 changed files with 833 additions and 44 deletions

18
.env.example Normal file
View File

@@ -0,0 +1,18 @@
# 개발 환경 설정 예시
# Windows 개발환경용 MariaDB/MySQL 연결 설정
DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASSWORD=
DB_NAME=jaryo
# NAS 배포 환경
NODE_ENV=development
DEPLOY_ENV=local
# 서버 설정
HOST=0.0.0.0
PORT=3000
# 세션 설정
SESSION_SECRET=your-session-secret-here