도커 설치 내용 추가 밎 SQL 설정 버그 해결 및 영상 생성 front단 Timeout 제거

This commit is contained in:
Ubuntu committed 2025-12-17 06:42:11 +00:00
1 parent f5e7fba363
commit 9994944813
8 files changed
+911 -11

No files matched your search

+1
View File
@@ -634,6 +634,7 @@ db.serialize(() => {
user_id INTEGER,
business_name TEXT,
details TEXT,
final_video_path TEXT,
createdAt DATETIME DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY(user_id) REFERENCES users(id)
)`);
+5 -2
View File
@@ -2154,8 +2154,9 @@ async function processRenderQueue() {
// Puppeteer 녹화
const browser = await puppeteer.launch({
executablePath: process.env.PUPPETEER_EXECUTABLE_PATH || '/usr/bin/google-chrome-stable',
headless: 'new',
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-web-security']
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-web-security','--disable-dev-shm-usage', '--disable-gpu']
});
const page = await browser.newPage();
@@ -2397,8 +2398,9 @@ app.post('/render', authenticateToken, async (req, res) => {
// 3. Puppeteer로 영상 녹화
const browser = await puppeteer.launch({
executablePath: process.env.PUPPETEER_EXECUTABLE_PATH || '/usr/bin/google-chrome-stable',
headless: 'new',
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-web-security']
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-web-security','--disable-dev-shm-usage', '--disable-gpu']
});
const page = await browser.newPage();
@@ -7726,6 +7728,7 @@ app.post('/api/admin/sync/pensions', authenticateToken, requireAdmin, async (req
// 모든 기타 요청은 React 앱으로 전달 (SPA 라우팅 지원)
app.get('*', (req, res) => {
console.log("unknown req : ", req)
res.sendFile(path.join(__dirname, '../dist/index.html'));
});