Skip to content

Commit eb54c4b

Browse files
committed
feat(docker): add healthcheck to nginx container
1 parent 4f1bb0e commit eb54c4b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docker/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,8 @@ COPY docker/entrypoint.sh /entrypoint.sh
2424

2525
RUN ln -s /configuration.json /usr/share/nginx/html/configuration.json
2626

27+
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
28+
CMD wget -qO /dev/null http://localhost:80/ || exit 1
29+
2730
ENTRYPOINT ["/entrypoint.sh"]
2831
CMD ["nginx", "-g", "daemon off;"]

src/components/ElasticField.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const collapseName = shortenText(name);
8686
</template>
8787

8888
<template v-else-if="geometry">
89-
<LeafletMap class="h-72 flex grow min-w-[200px] mr-4" :modelValue="geometry" :enableDrawing="false" />
89+
<LeafletMap class="h-72 flex grow min-w-50 mr-4" :modelValue="geometry" :enableDrawing="false" />
9090
<p class="text-sm">This map is not designed or suitable for Native Title research.</p>
9191
</template>
9292

0 commit comments

Comments
 (0)