Обновить docker-compose.yml

This commit is contained in:
Постнов Андрей 2025-05-16 09:52:13 +00:00
parent 4a4ceeb828
commit f81691b1cd

View File

@ -11,6 +11,8 @@ services:
configs:
- source: app_config
target: /data/application.yaml
environment:
REPLICA: "{{.Task.Slot}}"
labels:
- "traefik.http.routers.expertisa-master.rule=HostRegexp(`(?i)master\\..+`)"
@ -18,8 +20,8 @@ services:
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.path=/health/readiness"
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.interval=5s"
- "traefik.http.routers.expertisa-master-{{.Task.Slot}}.rule=HostRegexp(`(?i)master-{{.Task.Slot}}\\..+`)"
- "traefik.http.routers.expertisa-master-{{.Task.Slot}}.tls=true"
- "traefik.http.routers.expertisa-master-${REPLICA}.rule=HostRegexp(`(?i)master-${REPLICA}\\..+`)"
- "traefik.http.routers.expertisa-master-${REPLICA}.tls=true"
environment:
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"