Sfoglia il codice sorgente

отключил healthcheck

Tomishinets Vladimir 3 anni fa
parent
commit
0561fe6700
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -20,7 +20,7 @@ FROM registry.sdsys.ru/iru/iru-base:7.6
 ARG DB_CLUSTER=mongodb1:27017,mongodb2:27018,mongodb3:27019
 ARG SERVER_PORT=9000
 
-HEALTHCHECK --start-period=40s --interval=15s --timeout=5s --retries=2 CMD curl -f 127.0.0.1:${SERVER_PORT} || exit 1
+#HEALTHCHECK --start-period=40s --interval=15s --timeout=5s --retries=2 CMD curl -f 127.0.0.1:${SERVER_PORT} || exit 1
 COPY --from=build /web-registration/promo/build/libs/promo-0.0.1-SNAPSHOT.war /opt/
 COPY --from=build /tmp/version /tmp/
 CMD ["java", "-jar", "/opt/promo-0.0.1-SNAPSHOT.war"]