diff --git a/docker-compose.yml b/docker-compose.yml index a1b55d12..b51ad638 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -107,7 +107,7 @@ services: depends_on: redis: condition: service_healthy - mem_limit: 128m + mem_limit: 256m healthcheck: disable: true networks: @@ -128,7 +128,7 @@ services: depends_on: redis: condition: service_healthy - mem_limit: 128m + mem_limit: 256m healthcheck: test: ["CMD-SHELL", "curl -f http://localhost:5555/ || exit 1"] interval: 30s diff --git a/scripts/verify-server.sh b/scripts/verify-server.sh index 4c6fe007..6e35a69c 100755 --- a/scripts/verify-server.sh +++ b/scripts/verify-server.sh @@ -1,15 +1,15 @@ #!/usr/bin/env bash # verify-server.sh — Check all Orion infrastructure is properly deployed # Run on the production server: bash scripts/verify-server.sh -set -euo pipefail +set -uo pipefail PASS=0 FAIL=0 WARN=0 -pass() { echo " [PASS] $1"; ((PASS++)); } -fail() { echo " [FAIL] $1"; ((FAIL++)); } -warn() { echo " [WARN] $1"; ((WARN++)); } +pass() { echo " [PASS] $1"; PASS=$((PASS + 1)); } +fail() { echo " [FAIL] $1"; FAIL=$((FAIL + 1)); } +warn() { echo " [WARN] $1"; WARN=$((WARN + 1)); } section() { echo ""; echo "=== $1 ==="; }