New Replicas param.

This commit is contained in:
Постнов Андрей 2025-03-31 23:33:54 +03:00
parent cedc1bbc30
commit fedb64ca9a

View File

@ -4,7 +4,7 @@ services:
pull_policy: always pull_policy: always
restart: unless-stopped restart: unless-stopped
deploy: deploy:
replicas: 2 replicas: ${REPLICAS:-1}
resources: resources:
limits: limits:
cpus: '4.0' cpus: '4.0'
@ -56,7 +56,7 @@ configs:
content: | content: |
infinispan: infinispan:
embedded: embedded:
enabled: true ${REPLICAS:+enabled: true}
cluster-name: eisa-${BRANCH} cluster-name: eisa-${BRANCH}
stack: tunnel stack: tunnel
spring: spring: