mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-16 01:19:02 +01:00
Add ping command to server to allow container healthchecks (#2030)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1943 Note: Kubernetes ignores the container `HEALTHCHECK` by default. --------- Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
@@ -11,4 +11,5 @@ EXPOSE 8000 9000 80 443
|
||||
|
||||
COPY dist/server/${TARGETOS}/${TARGETARCH}/woodpecker-server /bin/
|
||||
|
||||
HEALTHCHECK CMD ["/bin/woodpecker-server", "ping"]
|
||||
ENTRYPOINT ["/bin/woodpecker-server"]
|
||||
|
||||
Reference in New Issue
Block a user