mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
Merge c375ff339aa9b6c17ca6dbb1592755e90b55b965 into 82a437f2a83fc10299f3205713f7dcb04e2d047c
This commit is contained in:
commit
818019a603
11
DockerHealthcheck.sh
Normal file
11
DockerHealthcheck.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
URL=${TRILIUM_URL:-"http://localhost:8080"}
|
||||||
|
|
||||||
|
if curl -s "$URL" > /dev/null; then
|
||||||
|
echo "Trilium is up and running."
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
echo "Trilium is not responding."
|
||||||
|
exit 1
|
||||||
|
fi
|
@ -21,6 +21,7 @@ RUN set -x \
|
|||||||
nasm \
|
nasm \
|
||||||
libpng-dev \
|
libpng-dev \
|
||||||
python3 \
|
python3 \
|
||||||
|
curl \
|
||||||
&& npm install \
|
&& npm install \
|
||||||
&& apk del .build-dependencies \
|
&& apk del .build-dependencies \
|
||||||
&& npm run webpack \
|
&& npm run webpack \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user