Explorar o código

shorten healthcheck interval to 5s

Vadim Surkov %!s(int64=5) %!d(string=hai) anos
pai
achega
c674c7f29d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -4,6 +4,6 @@ RUN mkdir -p /root/.wine/drive_c/services/analis
 RUN mkdir -p /opt/analis
 COPY analis /opt/analis/
 COPY healthcheck.sh entrypoint.sh /opt/
-HEALTHCHECK --interval=10s --start-period=3m CMD /opt/healthcheck.sh
+HEALTHCHECK --interval=5s --start-period=3m CMD /opt/healthcheck.sh
 
 ENTRYPOINT ["/opt/entrypoint.sh"]