diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..feb7909 --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,23 @@ +module.exports = { + apps: [ + { + name: 'media-coding-web', + script: './server.js', + cwd: __dirname, + instances: 1, + autorestart: true, + watch: false, + max_memory_restart: '512M', + env: { + NODE_ENV: 'production', + PORT: 3000, + HOST: '0.0.0.0', + AWS_REGION: 'us-east-1', + S3_BUCKET_ADDRESS: 'https://s3.example.com/your_bucket_name', + S3_ENDPOINT: 'http://127.0.0.1:9000', + S3_FORCE_PATH_STYLE: 'true', + APP_TITLE: 'S3 Media Transcoder' + } + } + ] +};