init: Node starter (podman dev + Coolify deploy, Claude agent 골격)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
0310700
2026-06-14 16:20:37 +09:00
commit e293f2cb87
14 changed files with 284 additions and 0 deletions

11
scripts/check-db.js Normal file
View File

@@ -0,0 +1,11 @@
// DB 연결 빠른 확인: `npm run db:check`
import { pingDb, pool } from "../src/db.js";
try {
console.log("DB OK:", await pingDb());
} catch (e) {
console.error("DB FAIL:", e.message);
process.exitCode = 1;
} finally {
await pool.end();
}

10
scripts/check-minio.js Normal file
View File

@@ -0,0 +1,10 @@
// MinIO(S3) 연결 빠른 확인: `npm run minio:check`
// 먼저 ~/.config 또는 .env 에서 S3_ACCESS_KEY_ID / S3_SECRET_ACCESS_KEY 를 채워야 함.
import { pingS3 } from "../src/s3.js";
try {
console.log("S3 OK:", await pingS3());
} catch (e) {
console.error("S3 FAIL:", e.message);
process.exitCode = 1;
}