From a6e0af641ed9ca261641cefe707b052025affd4f Mon Sep 17 00:00:00 2001 From: TDLaouer Date: Sun, 13 Jul 2025 23:23:48 +0200 Subject: [PATCH] fix --- Dockerfile | 3 ++- ecosystem.config.cjs | 4 ++-- middleware/auth.ts | 0 3 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 middleware/auth.ts diff --git a/Dockerfile b/Dockerfile index f0972e9..165d34a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,8 @@ FROM base COPY --from=build /src/.output /src/.output ENV PORT=3001 +ENV HOST=0.0.0.0 EXPOSE 3001 -CMD ["pm2-runtime", "start", "node_modules/.bin/nuxt", "--", "start"] \ No newline at end of file +CMD ["pm2", "start", "node_modules/.bin/nuxt", "--", "start"] \ No newline at end of file diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs index ce6f193..663425a 100644 --- a/ecosystem.config.cjs +++ b/ecosystem.config.cjs @@ -1,11 +1,11 @@ module.exports = { apps: [ { - name: 'Smash or Pass', + name: 'SOP', port: '3001', exec_mode: 'cluster', instances: 'max', - script: './.output/server/index.mjs' + script: './.output/server/index.mjs', } ] } \ No newline at end of file diff --git a/middleware/auth.ts b/middleware/auth.ts deleted file mode 100644 index e69de29..0000000