1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-04-15 11:56:44 +02:00

Chore: Specify Docker health check start period and interval (#439)

To reach healthy state faster at startup.
This commit is contained in:
Ville Skyttä 2025-02-13 01:57:45 -01:00 committed by GitHub
parent a3bd62482d
commit a1d35d488d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,6 +25,6 @@ RUN apk upgrade --no-cache && apk add --no-cache tzdata
EXPOSE 1025/tcp 1110/tcp 8025/tcp
HEALTHCHECK --interval=15s CMD /mailpit readyz
HEALTHCHECK --interval=15s --start-period=10s --start-interval=1s CMD /mailpit readyz
ENTRYPOINT ["/mailpit"]