Commit 5b2f1250 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Define chequeo de salud

parent 61e7d14f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ version: '3.9'
volumes:
  data-vol:
    name: ${DATA_VOL_NAME}
    driver: local
    driver: ${VOL_DRIVER:-local}
    driver_opts:
      type: ${VOL_TYPE:-nfs4}
      o: addr=${VOL_ADDR:-127.0.0.1},${VOL_OPTS:-rw,nolock,noatime,tcp,rsize=8192,wsize=8192,timeo=14}
+6 −0
Original line number Diff line number Diff line
@@ -14,6 +14,12 @@ services:
      traefik-net:
    volumes:
      - data-vol:${DATA_PATH}
    healthcheck:
      test: wget -q -O - http://127.0.0.1:${PORT}/-/healthy
      interval: ${HEALTHCHECK_INTERVAL:-30s}
      timeout: ${HEALTHCHECK_TIMEOUT:-15s}
      retries: ${HEALTHCHECK_RETRIES:-5}
      start_period: ${HEALTHCHECK_START_PERIOD:-1m}
    deploy:
      mode: replicated
      replicas: ${REPLICAS:-1}