Merge branch 'develop' into fix/nodemailer_relay

This commit is contained in:
Cahit Atilgan committed 2025-05-15 09:34:38 +02:00
commit 2b046dfe18
3 files changed
+6 -12

No files matched your search

+4 -8
View File
@@ -23,8 +23,7 @@ jobs:
- name: Build Client Docker image
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
docker build \
-t ghcr.io/bluewave-labs/checkmate:frontend-dist \
-f ./docker/dist/client.Dockerfile \
--label org.opencontainers.image.source=https://github.com/bluewave-labs/checkmate \
@@ -52,8 +51,7 @@ jobs:
- name: Build Server Docker image
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
docker build \
-t ghcr.io/bluewave-labs/checkmate:backend-dist \
-f ./docker/dist/server.Dockerfile \
--label org.opencontainers.image.source=https://github.com/bluewave-labs/checkmate \
@@ -64,8 +62,7 @@ jobs:
- name: Build Mongo Docker image
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
docker build \
-t ghcr.io/bluewave-labs/checkmate:mongo-dist \
-f ./docker/dist/mongoDB.Dockerfile \
--label org.opencontainers.image.source=https://github.com/bluewave-labs/checkmate \
@@ -76,8 +73,7 @@ jobs:
- name: Build Redis Docker image
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
docker build \
-t ghcr.io/bluewave-labs/checkmate:redis-dist \
-f ./docker/dist/redis.Dockerfile \
--label org.opencontainers.image.source=https://github.com/bluewave-labs/checkmate \
+1 -1
View File
@@ -171,7 +171,7 @@ const monitorValidation = joi.object({
.max(65535)
.when("type", {
is: "port",
then: joi.required().messages({
then: joi.number().messages({
"number.base": "Port must be a number.",
"number.min": "Port must be at least 1.",
"number.max": "Port must be at most 65535.",
+1 -3
View File
@@ -257,9 +257,7 @@ class NotificationService {
const alerts = {
cpu: cpuThreshold !== -1 && cpuUsage > cpuThreshold ? true : false,
memory: memoryThreshold !== -1 && memoryUsage > memoryThreshold ? true : false,
disk: disk.some((d) => diskThreshold !== -1 && d.usage_percent > diskThreshold)
? true
: false,
disk: disk?.some(d => diskThreshold !== -1 && typeof d?.usage_percent === "number" && d?.usage_percent > diskThreshold) ?? false,
};
const notifications = await this.db.getNotificationsByMonitorId(