4 Commits

View File

@ -4,7 +4,7 @@ services:
pull_policy: always
restart: unless-stopped
deploy:
replicas: 2
replicas: ${REPLICAS:-1}
resources:
limits:
cpus: '4.0'
@ -20,7 +20,7 @@ services:
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"
labels:
- "traefik.http.routers.expertisa-${BRANCH}.rule=HostRegexp(`${BRANCH}\\..+`)"
- "traefik.http.routers.expertisa-${BRANCH}.rule=HostRegexp(`(?i)${BRANCH}\\..+`)"
- "traefik.http.routers.expertisa-${BRANCH}.tls=true"
- "traefik.http.services.expertisa-${BRANCH}.loadbalancer.healthcheck.path=/health/readiness"
- "traefik.http.services.expertisa-${BRANCH}.loadbalancer.healthcheck.interval=5s"
@ -32,7 +32,7 @@ services:
psql:
container_name: psql-${BRANCH}
image: postgres:latest
image: postgres:9.4
restart: unless-stopped
environment:
POSTGRES_USER: "admin"
@ -56,7 +56,7 @@ configs:
content: |
infinispan:
embedded:
enabled: true
${REPLICAS:+enabled: true}
cluster-name: eisa-${BRANCH}
stack: tunnel
spring:
@ -82,7 +82,7 @@ configs:
token: ${GIT_TOKEN}
personal-tunes-git:
url: https://git.expertdwh.ru/EWH/expert-isa-2-personal-tunes
branch: master
branch: ${BRANCH}
enabled: true
token: ${GIT_TOKEN}
file-store-type: s3