From e9bb17dd8acb5675c0df62e1dcf8dfb87cafbab9 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 15 Feb 2024 12:47:27 +0000 Subject: [PATCH] Fixing cluster mode in docker-compose setups, we weren't copying across the pm2 config that was needed to achieve this. --- packages/server/Dockerfile | 1 + packages/worker/Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/server/Dockerfile b/packages/server/Dockerfile index f63481c373..3aae395bc5 100644 --- a/packages/server/Dockerfile +++ b/packages/server/Dockerfile @@ -66,6 +66,7 @@ COPY packages/server/dist/ dist/ COPY packages/server/docker_run.sh . COPY packages/server/builder/ builder/ COPY packages/server/client/ client/ +COPY packages/server/pm2.config.js . ARG BUDIBASE_VERSION ARG GIT_COMMIT_SHA diff --git a/packages/worker/Dockerfile b/packages/worker/Dockerfile index 52fd3677b1..77869c48f1 100644 --- a/packages/worker/Dockerfile +++ b/packages/worker/Dockerfile @@ -37,6 +37,7 @@ RUN apk del .gyp \ COPY packages/worker/dist/ dist/ COPY packages/worker/docker_run.sh . +COPY packages/server/pm2.config.js . EXPOSE 4001