Added heath-check to containers, upgraded psiphon to 2.0.31

This commit is contained in:
swarupsengupta2007
2024-12-27 21:37:40 +05:30
parent f64df60fe0
commit ac82876e54
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -38,4 +38,5 @@ COPY base/ /
COPY psiphon.config ${DEF_DEFAULTS}
COPY --from=psiphon_builder /go/psiphon_${TARGETOS}_${TARGETARCH}_${TARGETVARIANT} ${DEF_APP}/psiphon
EXPOSE 8080 1080
HEALTHCHECK --interval=30s --timeout=5s --start-period=2m --retries=3 CMD netstat -ltn|grep 1080 || exit 1
VOLUME /config