mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Add more extensive healthcheck support
- Add new cli argument: -healthcheck - Add HEALTHCHECK instruction to Dockerfile - Update Docker Compose examples
This commit is contained in:
parent
3cb04b2c56
commit
bbf93430b7
7 changed files with 71 additions and 5 deletions
|
@ -20,7 +20,7 @@ LABEL org.opencontainers.image.documentation=https://miniflux.app/docs/
|
|||
|
||||
EXPOSE 8080
|
||||
ENV LISTEN_ADDR 0.0.0.0:8080
|
||||
|
||||
HEALTHCHECK --start-period=30s CMD ["/usr/bin/miniflux", "-healthcheck", "auto"]
|
||||
RUN apk --no-cache add ca-certificates tzdata
|
||||
COPY --from=build /go/src/app/miniflux /usr/bin/miniflux
|
||||
USER nobody
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue