ci: 배포 config 생성

This commit is contained in:
2026-03-12 22:54:01 -04:00
parent 5446a8a656
commit 1d73da316c
3 changed files with 87 additions and 6 deletions
+4 -6
View File
@@ -5,9 +5,6 @@
# dependencies
node_modules/
.idea/
# build
.next/
dist/
# build
.next
@@ -22,6 +19,9 @@ apps/fo/.next/**/*
#.env*
.qodo
# next-agents-md
.next-docs/
pnpm-lock.yaml
settings.json
.npmrc
@@ -29,6 +29,4 @@ settings.json
.agent
apps/**/tsconfig.tsbuildinfo
# next-agents-md
.next-docs/
logs/
+15
View File
@@ -1,6 +1,21 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
experimental: {
proxyTimeout: 600000,
},
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
logging: {
fetches: {
fullUrl: true,
},
},
async rewrites() {
return {
afterFiles: [
+68
View File
@@ -0,0 +1,68 @@
const common = {
exec_mode: 'cluster',
instances: 'max',
autorestart: true,
max_memory_restart: '1G',
watch: false,
merge_logs: true,
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
env: {
NODE_ENV: 'production',
},
}
module.exports = {
apps: [
{
...common,
name: 'cs-app',
cwd: './apps/cs',
script: 'node_modules/next/dist/bin/next',
args: 'start -p 3000',
error_file: './logs/cs-error.log',
out_file: './logs/cs-out.log',
},
{
...common,
name: 'st-app',
cwd: './apps/st',
script: 'node_modules/next/dist/bin/next',
args: 'start -p 3001',
error_file: './logs/st-error.log',
out_file: './logs/st-out.log',
},
{
...common,
name: 'cm-app',
cwd: './apps/cm',
script: 'node_modules/next/dist/bin/next',
args: 'start -p 3002',
error_file: './logs/cm-error.log',
out_file: './logs/cm-out.log',
},
{
...common,
name: 'features-app',
cwd: './apps/common/features',
script: 'node_modules/next/dist/bin/next',
args: 'start -p 13000',
error_file: './logs/feature-error.log',
out_file: './logs/feature-out.log',
},
],
}