Add health endpoint instead of root

This commit is contained in:
Georgiy Sitnikov 2024-06-02 22:08:58 +02:00 committed by GitHub
parent 387d52c2fc
commit 5d90dd1a9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,7 +47,7 @@ HEALTHCHECK --interval=30s \
--timeout=5s \ --timeout=5s \
--start-period=5s \ --start-period=5s \
--retries=3 \ --retries=3 \
CMD [ "/usr/bin/wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:7745" ] CMD [ "/usr/bin/wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:7745/api/v1/status" ]
WORKDIR /app WORKDIR /app
VOLUME [ "/data" ] VOLUME [ "/data" ]