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: