Move docker healthcheck to the server level
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ ENV SB_HOSTNAME=0.0.0.0 \
|
||||
SB_PORT=3000
|
||||
|
||||
EXPOSE 3000
|
||||
HEALTHCHECK CMD curl --fail "http://localhost:$SB_PORT$SB_URL_PREFIX/.ping" || exit 1
|
||||
HEALTHCHECK CMD curl --fail "http://localhost:$SB_PORT/.instance" || exit 1
|
||||
|
||||
COPY silverbullet-${TARGETARCH} /silverbullet
|
||||
RUN chmod +x /silverbullet
|
||||
|
||||
Reference in New Issue
Block a user