diff --git a/docker-compose.yml b/docker-compose.yml index 16b33ab..82bccdd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,11 +12,17 @@ services: - source: app_config target: /data/application.yaml - # labels: - # - "traefik.http.routers.expertisa-master.rule=HostRegexp(`(?i)master\\..+`)" - # - "traefik.http.routers.expertisa-master.tls=true" - # - "traefik.http.services.expertisa-master.loadbalancer.healthcheck.path=/health/readiness" - # - "traefik.http.services.expertisa-master.loadbalancer.healthcheck.interval=5s" + labels: + - "traefik.http.routers.expertisa-master.rule=HostRegexp(`(?i)master\\..+`)" + - "traefik.http.routers.expertisa-master.tls=true" + - "traefik.http.services.expertisa-master.loadbalancer.healthcheck.path=/health/readiness" + - "traefik.http.services.expertisa-master.loadbalancer.healthcheck.interval=5s" + + - "traefik.http.routers.expertisa-master-1.rule=HostRegexp(`(?i)master-1\\..+`)" + - "traefik.http.services.expertisa-master-1.loadbalancer.servers.0.url=http://eisa:8080" + + - "traefik.http.routers.expertisa-master-2.rule=HostRegexp(`(?i)master-2\\..+`)" + - "traefik.http.services.expertisa-master-2.loadbalancer.servers.0.url=http://eisa:8080" environment: JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"