We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509e49c commit 05dbc5aCopy full SHA for 05dbc5a
Dockerfile
@@ -13,4 +13,14 @@ RUN groupadd -r fossildb \
13
&& chmod 777 . \
14
&& chown -R fossildb .
15
16
+RUN GRPC_HEALTH_PROBE_VERSION=v0.2.0 && \
17
+ wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
18
+ chmod +x /bin/grpc_health_probe
19
+
20
+EXPOSE 7155
21
22
+HEALTHCHECK \
23
+ --interval=2s --timeout=5s --retries=30 \
24
+ CMD /bin/grpc_health_probe -addr=:7155
25
26
CMD [ "fossildb" ]
0 commit comments