forked from openupm/openupm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpm2-cn.yml
More file actions
31 lines (31 loc) · 733 Bytes
/
pm2-cn.yml
File metadata and controls
31 lines (31 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
apps:
- name: api
instance_var: api
cwd: /home/openupm/openupm
script: server.js
exec_mode: cluster
instances: 1
error_file: ./logs/api-error.log
out_file: ./logs/api.log
combine_logs: true
max_memory_restart: 1G
max_restarts: 5
autorestart: true
env:
REDIS_ENABLE_OFFLINE_QUEUE: false
- name: installer
instance_var: installer
cwd: /home/openupm/glitch-package-installer
script: server.js
exec_mode: cluster
instances: 1
error_file: ./logs/installer-error.log
out_file: ./logs/installer.log
combine_logs: true
max_memory_restart: 1G
max_restarts: 5
autorestart: true
env:
PORT: 3700
env_production:
PORT: 3700