diff --git a/Dockerfile b/Dockerfile index 96eae79..9de881b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,4 +69,6 @@ RUN useradd --create-home --shell /bin/bash timelapse && \ USER timelapse EXPOSE 5000 +HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \ + CMD wget -qO- http://localhost:5000/api/health || exit 1 CMD ["./immich-timelapse"]