web-nginx: add basic healthcheck

This commit is contained in:
Andrew Dolgov 2021-12-07 17:19:48 +03:00
parent c91a00451c
commit 851db2c575
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
FROM nginx:alpine FROM nginx:alpine
HEALTHCHECK CMD curl --fail http://localhost/tt-rss/index.php || exit 1
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf