浏览代码

отключил healthcheck

Tomishinets Vladimir 3 年之前
父节点
当前提交
0561fe6700
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"]