Update Dockerfile.rootless with health endpoint

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

View file

@ -59,7 +59,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" ]
VOLUME [ "/data" ] VOLUME [ "/data" ]
# Drop root and run as low-privileged user # Drop root and run as low-privileged user