mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-11 13:53:21 +02:00
add HEALTHCHECK for ggr
This commit is contained in:
parent
9c8477ca8a
commit
de4e7df4d0
@ -7,9 +7,11 @@ RUN apk add --no-cache git
|
||||
RUN go get -v github.com/kelseyhightower/confd
|
||||
|
||||
FROM aerokube/ggr
|
||||
RUN apk add --no-cache libxml2-utils supervisor
|
||||
RUN apk add --no-cache curl libxml2-utils supervisor
|
||||
COPY --from=0 /go/bin/confd /usr/bin/
|
||||
COPY data/confd /etc/confd
|
||||
COPY data/supervisor.d /etc/supervisor.d
|
||||
COPY data/grid-router /etc/grid-router
|
||||
EXPOSE 4444
|
||||
ENTRYPOINT ["supervisord", "-n", "-c", "/etc/supervisord.conf"]
|
||||
HEALTHCHECK CMD ["curl", "-f", "http://127.0.0.1:4444/ping"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user