mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
16 lines
359 B
YAML
Executable File
16 lines
359 B
YAML
Executable File
apps:
|
|
- name : 'HTTP-API'
|
|
script: 'apps/http.js'
|
|
instances: 'max'
|
|
max_memory_restart: '260M'
|
|
watch : true
|
|
ignore_watch : ['node_modules']
|
|
env:
|
|
NODE_ENV : 'development'
|
|
env_production:
|
|
NODE_ENV : 'production'
|
|
- name : 'Worker'
|
|
script: 'apps/worker.js'
|
|
- name : 'Checks'
|
|
script : 'apps/connection_check.sh'
|