From fedb64ca9a6e87c262552c015686a02ae8a787be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=BE=D1=81=D1=82=D0=BD=D0=BE=D0=B2=20=D0=90=D0=BD?= =?UTF-8?q?=D0=B4=D1=80=D0=B5=D0=B9?= Date: Mon, 31 Mar 2025 23:33:54 +0300 Subject: [PATCH] New Replicas param. --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ebe0be5..552b06e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: pull_policy: always restart: unless-stopped deploy: - replicas: 2 + replicas: ${REPLICAS:-1} resources: limits: cpus: '4.0' @@ -56,7 +56,7 @@ configs: content: | infinispan: embedded: - enabled: true + ${REPLICAS:+enabled: true} cluster-name: eisa-${BRANCH} stack: tunnel spring: