Обновить docker-compose.yml
This commit is contained in:
parent
4a4ceeb828
commit
f81691b1cd
@ -11,6 +11,8 @@ services:
|
|||||||
configs:
|
configs:
|
||||||
- source: app_config
|
- source: app_config
|
||||||
target: /data/application.yaml
|
target: /data/application.yaml
|
||||||
|
environment:
|
||||||
|
REPLICA: "{{.Task.Slot}}"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.http.routers.expertisa-master.rule=HostRegexp(`(?i)master\\..+`)"
|
- "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.path=/health/readiness"
|
||||||
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.interval=5s"
|
- "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-${REPLICA}.rule=HostRegexp(`(?i)master-${REPLICA}\\..+`)"
|
||||||
- "traefik.http.routers.expertisa-master-{{.Task.Slot}}.tls=true"
|
- "traefik.http.routers.expertisa-master-${REPLICA}.tls=true"
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"
|
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user