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:
@@ -4,10 +4,10 @@
|
||||
# 도커 배포 시에는 이 파일이 아니라 루트 .env 가 사용됩니다 (docker-compose 참고).
|
||||
# ============================================================
|
||||
|
||||
# MySQL (로컬 개발 시 docker-compose의 mysql을 쓰면 host는 localhost, 포트는 3316)
|
||||
MYSQL_PORT=3306
|
||||
# PostgreSQL (로컬 개발 시 docker-compose의 postgres를 쓰면 host는 localhost, 포트는 5442)
|
||||
DB_PORT=5432
|
||||
DB_HOST=localhost
|
||||
DB_USER=root
|
||||
DB_USER=postgres
|
||||
DB_PASSWORD=
|
||||
DB_NAME=report_db
|
||||
|
||||
|
||||
Reference in New Issue
Block a user