Skip to content

Commit

Permalink
🩺 Add healthcheck to improve HA watchdog (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Dec 15, 2022
1 parent 712bf2d commit 57698f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions unifi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ RUN \
# Copy root filesystem
COPY rootfs /

# Health check
HEALTHCHECK --start-period=5m \
CMD curl --insecure --fail https://localhost:8443 || exit 1

# Build arguments
ARG BUILD_ARCH
ARG BUILD_DATE
Expand Down

0 comments on commit 57698f0

Please sign in to comment.