module.exports = {
  apps: [
    {
      name: "wondif_vue",
      cwd: "/var/www/wondif_vue",
      script: "node",
      args: ".output/server/index.mjs",
      env: {
        NODE_ENV: "production",

        // Auto-mapping Nuxt runtimeConfig.public.strapiUrl
        NUXT_PUBLIC_STRAPI_URL: "http://localhost:1337",

        // Auto-mapping Nuxt runtimeConfig.strapiToken
        // (si tu l'utilises vraiment)
        NUXT_STRAPI_TOKEN: "",
        NUXT_PUBLIC_SAISON: "2026/2027"
      },
    },
  ],
}