{
  "apps": [
    {
      "name": "jimeng-api-3302",
      "script": "dist/index.js",
      "instances": 1,
      "exec_mode": "cluster",
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "development",
        "SERVICE_ID": "jimeng-api-3302",
        "SERVICE_NAME": "jimeng-free-api-3302",
        "HOST": "0.0.0.0",
        "PORT": 3302,
        "TOS_ACCESS_KEY_ID": "your_actual_access_key_id",
        "TOS_ACCESS_KEY_SECRET": "your_actual_access_key_secret",
        "TOS_BUCKET_NAME": "your_actual_bucket_name",
        "TOS_SELF_DOMAIN": "",
        "TOS_REGION": "cn-beijing",
        "TOS_ENDPOINT": "tos-cn-beijing.volces.com",

        "USE_DATABASE_MODE": false,
        "MAX_CONCURRENT_TASKS": 3,
        "TASK_POLL_INTERVAL": 5,
        "IMAGE_TASK_TIMEOUT": 3600,
        "VIDEO_TASK_TIMEOUT": 86400,
        "RESULT_EXPIRE_TIME": 86400
      },
      "env_production": {
        "NODE_ENV": "production",
        "SERVICE_ID": "jimeng-api-3302-prod",
        "SERVICE_NAME": "jimeng-free-api-3302-prod",
        "HOST": "0.0.0.0",
        "PORT": 3302,
        "TOS_ACCESS_KEY_ID": "prod_access_key_id",
        "TOS_ACCESS_KEY_SECRET": "prod_access_key_secret",
        "TOS_BUCKET_NAME": "prod_bucket_name",
        "TOS_SELF_DOMAIN": "https://your-domain.com",
        "TOS_REGION": "cn-beijing",
        "TOS_ENDPOINT": "tos-cn-beijing.volces.com",

        "USE_DATABASE_MODE": false,
        "MAX_CONCURRENT_TASKS": 3,
        "TASK_POLL_INTERVAL": 5,
        "IMAGE_TASK_TIMEOUT": 3600,
        "VIDEO_TASK_TIMEOUT": 86400,
        "RESULT_EXPIRE_TIME": 86400
      },
      "log_file": "./logs/combined-3302.log",
      "out_file": "./logs/out-3302.log",
      "error_file": "./logs/error-3302.log",
      "log_date_format": "YYYY-MM-DD HH:mm:ss Z",
      "merge_logs": true,
      "autorestart": true,
      "max_restarts": 10,
      "min_uptime": "10s"
    },
    {
      "name": "jimeng-api-3303",
      "script": "dist/index.js",
      "instances": 1,
      "exec_mode": "cluster",
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "development",
        "SERVICE_ID": "jimeng-api-3303",
        "SERVICE_NAME": "jimeng-free-api-3303",
        "HOST": "0.0.0.0",
        "PORT": 3303,
        "MONGODB_URL": "mongodb://localhost:27017/jimeng-api",
        "TOS_ACCESS_KEY_ID": "your_actual_access_key_id",
        "TOS_ACCESS_KEY_SECRET": "your_actual_access_key_secret",
        "TOS_BUCKET_NAME": "your_actual_bucket_name",
        "TOS_SELF_DOMAIN": "",
        "TOS_REGION": "cn-beijing",
        "TOS_ENDPOINT": "tos-cn-beijing.volces.com",

        "USE_DATABASE_MODE": false,
        "MAX_CONCURRENT_TASKS": 3,
        "TASK_POLL_INTERVAL": 5,
        "IMAGE_TASK_TIMEOUT": 3600,
        "VIDEO_TASK_TIMEOUT": 86400,
        "RESULT_EXPIRE_TIME": 86400
      },
      "env_production": {
        "NODE_ENV": "production",
        "SERVICE_ID": "jimeng-api-3303-prod",
        "SERVICE_NAME": "jimeng-free-api-3303-prod",
        "HOST": "0.0.0.0",
        "PORT": 3303,
        "TOS_ACCESS_KEY_ID": "prod_access_key_id",
        "TOS_ACCESS_KEY_SECRET": "prod_access_key_secret",
        "TOS_BUCKET_NAME": "prod_bucket_name",
        "TOS_SELF_DOMAIN": "https://your-domain.com",
        "TOS_REGION": "cn-beijing",
        "TOS_ENDPOINT": "tos-cn-beijing.volces.com",

        "USE_DATABASE_MODE": false,
        "MAX_CONCURRENT_TASKS": 3,
        "TASK_POLL_INTERVAL": 5,
        "IMAGE_TASK_TIMEOUT": 3600,
        "VIDEO_TASK_TIMEOUT": 86400,
        "RESULT_EXPIRE_TIME": 86400
      },
      "log_file": "./logs/combined-3303.log",
      "out_file": "./logs/out-3303.log",
      "error_file": "./logs/error-3303.log",
      "log_date_format": "YYYY-MM-DD HH:mm:ss Z",
      "merge_logs": true,
      "autorestart": true,
      "max_restarts": 10,
      "min_uptime": "10s"
    },
    {
      "name": "jimeng-api-3304",
      "script": "dist/index.js",
      "instances": 1,
      "exec_mode": "cluster",
      "watch": false,
      "max_memory_restart": "500M",
      "env": {
        "NODE_ENV": "development",
        "SERVICE_ID": "jimeng-api-3304",
        "SERVICE_NAME": "jimeng-free-api-3304",
        "HOST": "0.0.0.0",
        "PORT": 3304,
        "TOS_ACCESS_KEY_ID": "your_actual_access_key_id",
        "TOS_ACCESS_KEY_SECRET": "your_actual_access_key_secret",
        "TOS_BUCKET_NAME": "your_actual_bucket_name",
        "TOS_SELF_DOMAIN": "",
        "TOS_REGION": "cn-beijing",
        "TOS_ENDPOINT": "tos-cn-beijing.volces.com",

        "USE_DATABASE_MODE": false,
        "MAX_CONCURRENT_TASKS": 3,
        "TASK_POLL_INTERVAL": 5,
        "IMAGE_TASK_TIMEOUT": 3600,
        "VIDEO_TASK_TIMEOUT": 86400,
        "RESULT_EXPIRE_TIME": 86400
      },
      "env_production": {
        "NODE_ENV": "production",
        "SERVICE_ID": "jimeng-api-3304-prod",
        "SERVICE_NAME": "jimeng-free-api-3304-prod",
        "HOST": "0.0.0.0",
        "PORT": 3304,
        "TOS_ACCESS_KEY_ID": "prod_access_key_id",
        "TOS_ACCESS_KEY_SECRET": "prod_access_key_secret",
        "TOS_BUCKET_NAME": "prod_bucket_name",
        "TOS_SELF_DOMAIN": "https://your-domain.com",
        "TOS_REGION": "cn-beijing",
        "TOS_ENDPOINT": "tos-cn-beijing.volces.com",

        "USE_DATABASE_MODE": false,
        "MAX_CONCURRENT_TASKS": 3,
        "TASK_POLL_INTERVAL": 5,
        "IMAGE_TASK_TIMEOUT": 3600,
        "VIDEO_TASK_TIMEOUT": 86400,
        "RESULT_EXPIRE_TIME": 86400
      },
      "log_file": "./logs/combined-3304.log",
      "out_file": "./logs/out-3304.log",
      "error_file": "./logs/error-3304.log",
      "log_date_format": "YYYY-MM-DD HH:mm:ss Z",
      "merge_logs": true,
      "autorestart": true,
      "max_restarts": 10,
      "min_uptime": "10s"
    }
  ]
}