feat: add IM service health and metrics endpoints
This commit is contained in:
@@ -123,7 +123,7 @@ RUN mkdir -p /botdata static \
|
||||
&& chmod +x entrypoint.sh credentials.sh tinode init-db apply-hotgo-tenant-db
|
||||
|
||||
HEALTHCHECK --interval=1m --timeout=3s --start-period=30s \
|
||||
CMD nc -z localhost 6060 || exit 1
|
||||
CMD wget -q -O /dev/null http://localhost:6060/healthz || exit 1
|
||||
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user