module.exports = {
  apps: [
    {
      name: "image-api",
      script: "./start.js",
      env: {
        NODE_ENV: "production",
        HTTP_PORT: "3001",
        IP: "0.0.0.0"
      },
      instances: 1,
      autorestart: true,
      watch: false,
      max_memory_restart: "1G",
      error_file: "logs/err.log",
      out_file: "logs/out.log",
      max_restarts: 10,
      min_uptime: "10s",
      env_production: {
        NODE_ENV: "production",
        HTTP_PORT: "3001",
        IP: "0.0.0.0"
      }
    }
  ]
};
