Files
runtime/ecosystem.config.js
Hanzo Dev c3efd3a149 feat: Add new Dockerfiles and improve containerization
- 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
2025-08-16 23:03:39 -05:00

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,
},
],
}