{
  "apps": [{
    "name": "zhuyuan-agent",
    "script": "api/server.py",
    "cwd": "/opt/guanghulab-repo/zhuyuan-agent",
    "interpreter": "python3",
    "instances": 1,
    "exec_mode": "fork",
    "env": {
      "PYTHONPATH": "/opt/guanghulab-repo/zhuyuan-agent",
      "HLDP_DB_PATH": "/opt/guanghulab-repo/hldp_tree.db",
      "REPO_PATH": "/opt/guanghulab-repo",
      "SERVER_PORT": "3912"
    },
    "autorestart": true,
    "max_memory_restart": "1G",
    "log_date_format": "YYYY-MM-DD HH:mm:ss Z",
    "error_file": "/opt/guanghulab-repo/logs/zhuyuan-agent-error.log",
    "out_file": "/opt/guanghulab-repo/logs/zhuyuan-agent-out.log",
    "merge_logs": true
  }]
}
