Commit a18ec70d authored by Noel Alonso's avatar Noel Alonso
Browse files

Merge branch 'dev' of gitlab.com:redmic-project/server/vessels into dev

parents fec527bf f6008c00
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ services:
        reservations:
          memory: 820M
    networks:
      - metrics-net
      - kafka-net
      - redmic-net
      - traefik-net
+12 −11
Original line number Diff line number Diff line
@@ -12,17 +12,6 @@ services:
      - MICROSERVICE_NAME=${UNIT_NAME}-view
      - SPRING_KAFKA_CLIENT-ID={{.Service.Name}}-{{.Task.Slot}}
      - JAVA_OPTS=-XX:MaxRAMFraction=2
    networks:
      - elastic-net
      - kafka-net
      - redmic-net
      - traefik-net
    healthcheck:
      test: wget --spider -S -t 3 http://localhost:${VIEW_PORT}/api/${UNIT_NAME}/view/actuator/health
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 2m
    deploy:
      mode: replicated
      replicas: 1
@@ -40,6 +29,18 @@ services:
          memory: 768M
        reservations:
          memory: 615M
    networks:
      - elastic-net
      - metrics-net
      - kafka-net
      - redmic-net
      - traefik-net
    healthcheck:
      test: wget --spider -S -t 3 http://localhost:${VIEW_PORT}/api/${UNIT_NAME}/view/actuator/health
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 2m

networks:
  elastic-net: