- named volume 대신 호스트 경로 바인드 마운트 사용 (DB_DATA_DIR, 기본 /data/postgres) - backend: DB 연결/동기화 실패 시 프로세스 종료 - restart: always가 DB 준비까지 재시도하도록 fail-fast 적용 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+4
-1
@@ -248,7 +248,10 @@ sequelize
|
||||
);
|
||||
}
|
||||
})
|
||||
.catch((err) => console.log("PostgreSQL Connection/Sync Error:", err));
|
||||
.catch((err) => {
|
||||
console.error("PostgreSQL Connection/Sync Error:", err);
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
// Auth Middleware
|
||||
const authenticateToken = (req, res, next) => {
|
||||
|
||||
Reference in New Issue
Block a user