diff --git a/apps/gateway/docker/Dockerfile b/apps/gateway/docker/Dockerfile index 1843d80c6..e96ac8800 100644 --- a/apps/gateway/docker/Dockerfile +++ b/apps/gateway/docker/Dockerfile @@ -76,7 +76,7 @@ ARG PORT=8080 ENV PORT $PORT ENV NODE_ENV=production -ENV KEEP_ALIVE_TIMEOUT 121000 +ENV KEEP_ALIVE_TIMEOUT 601000 EXPOSE $PORT diff --git a/apps/gateway/src/server.ts b/apps/gateway/src/server.ts index 67fdd629d..199769244 100644 --- a/apps/gateway/src/server.ts +++ b/apps/gateway/src/server.ts @@ -13,7 +13,7 @@ serve( serverOptions: { keepAliveTimeout: process.env.KEEP_ALIVE_TIMEOUT ? Number(process.env.KEEP_ALIVE_TIMEOUT) - : 121000, + : 601000, }, }, (info) => { diff --git a/apps/infra/src/core/alb.ts b/apps/infra/src/core/alb.ts index 2950331b2..eddc3286d 100644 --- a/apps/infra/src/core/alb.ts +++ b/apps/infra/src/core/alb.ts @@ -16,7 +16,7 @@ const alb = new aws.lb.LoadBalancer('alb', { securityGroups: [shared.albSecurityGroup], subnets: subnets.euCentral.public, enableDeletionProtection: true, - idleTimeout: 120, + idleTimeout: 600, accessLogs: { bucket: albLogsBucket.id, enabled: true, diff --git a/apps/web/docker/Dockerfile b/apps/web/docker/Dockerfile index 99fa3ae09..5efeee6fd 100644 --- a/apps/web/docker/Dockerfile +++ b/apps/web/docker/Dockerfile @@ -112,7 +112,7 @@ ENV HOSTNAME $HOSTNAME ENV PORT $PORT ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1 -ENV KEEP_ALIVE_TIMEOUT 121000 +ENV KEEP_ALIVE_TIMEOUT 601000 EXPOSE $PORT