PHP 7.4.33
Preview: ecosystem.config.js Size: 677 B
/var/www/wordpress-nextjs.wpress.dk/httpdocs/ecosystem.config.js
module.exports = {
  apps: [
    {
      name: "wordpress-next", // Your app's name
      script: "npm", // The script to run
      args: "start", // Arguments to pass (e.g., "start")
      exec_mode: "fork", // Or 'cluster' if you want to run in cluster mode
      instances: "1", // Number of instances (set to 'max' for all CPUs)
      autorestart: true, // Restart the app if it crashes
      watch: false, // Disable file watching in production
      max_memory_restart: "1G", // Restart if memory exceeds 1GB
      env: {
        NODE_ENV: "production", // Environment variables
        PORT: 3017, // Port for Next.js to run on
      },
    },
  ],
};

Directory Contents

Dirs: 3 × Files: 7
Name Size Perms Modified Actions
.next DIR
- drwxr-xr-x 2024-10-14 10:19:38
Edit Download
app DIR
- drwxrwxr-x 2024-10-14 09:17:14
Edit Download
- drwxr-xr-x 2024-10-14 10:19:00
Edit Download
677 B lrw-r--r-- 2024-10-14 10:36:34
Edit Download
228 B lrw-r--r-- 2024-10-14 09:41:56
Edit Download
92 B lrw-r--r-- 2024-10-14 09:41:56
Edit Download
15.51 KB lrw-r--r-- 2024-10-14 10:19:00
Edit Download
435 B lrw-r--r-- 2024-10-14 10:23:31
Edit Download
1.42 KB lrw-r--r-- 2024-10-14 09:41:56
Edit Download
574 B lrw-r--r-- 2024-10-14 09:41:57
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).