DB를 MySQL에서 PostgreSQL로 전면 전환

- Sequelize dialect를 postgres로 변경, mysql2 대신 pg/pg-hstore 사용
- docker-compose: postgres:16-alpine + pg_isready healthcheck, 호스트 포트 5442
- 환경변수 MYSQL_PORT -> DB_PORT로 통일, .env.example 갱신

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-19 14:59:37 +09:00
parent e91e32c6fa
commit a45cb39a57
7 changed files with 190 additions and 146 deletions
+2 -1
View File
@@ -18,8 +18,9 @@
"express": "^4.18.2",
"jsonwebtoken": "^9.0.3",
"multer": "^2.1.1",
"mysql2": "^3.9.1",
"openai": "^6.32.0",
"pg": "^8.11.3",
"pg-hstore": "^2.3.4",
"pdfkit": "^0.18.0",
"sequelize": "^6.37.1",
"swagger-jsdoc": "^6.3.0",