aboutsummaryrefslogtreecommitdiff
path: root/Earthfile
diff options
context:
space:
mode:
Diffstat (limited to 'Earthfile')
-rw-r--r--Earthfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Earthfile b/Earthfile
index 740d0ec..65529b4 100644
--- a/Earthfile
+++ b/Earthfile
@@ -72,6 +72,8 @@ anubis-amd64:
CMD ["/app/bin/anubis"]
USER 1000:1000
+ HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["/app/bin/anubis", "--healthcheck"]
+
SAVE IMAGE --push ghcr.io/xe/x/anubis:latest
anubis-arm64:
@@ -79,6 +81,8 @@ anubis-arm64:
CMD ["/app/bin/anubis"]
USER 1000:1000
+ HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["/app/bin/anubis", "--healthcheck"]
+
SAVE IMAGE --push ghcr.io/xe/x/anubis:latest
anubis: