- Add main Dockerfile for production builds - Add Dockerfile.runtime for secure code execution - Add Dockerfile.runtime.fixed with improved configuration - Include .dockerignore for build optimization - Add integration documentation and publishing guides - Update API and CLI components for better runtime support - Enhance sandbox and container management features
24 lines
428 B
JavaScript
24 lines
428 B
JavaScript
/*
|
|
* Copyright 2025 Hanzo Industries Inc.
|
|
* SPDX-License-Identifier: AGPL-3.0
|
|
*/
|
|
|
|
module.exports = {
|
|
apps: [
|
|
{
|
|
name: 'runtime',
|
|
script: './dist/apps/api/main.js',
|
|
instances: 4,
|
|
exec_mode: 'cluster',
|
|
watch: false,
|
|
env: {
|
|
NODE_ENV: 'production',
|
|
PM2_CLUSTER: 'true',
|
|
},
|
|
wait_ready: true,
|
|
kill_timeout: 3000,
|
|
listen_timeout: 10000,
|
|
},
|
|
],
|
|
}
|