Merge pull request #430 from caspermeijn/healthcheck

Add healthcheck to image
This commit is contained in:
Kevin Decherf
2025-04-20 12:58:45 +02:00
committed by GitHub
2 changed files with 2 additions and 4 deletions

View File

@ -84,6 +84,8 @@ ENV PATH="${PATH}:/var/www/wallabag/bin"
# Set console entry path
WORKDIR /var/www/wallabag
HEALTHCHECK CMD curl --fail --silent --show-error --user-agent healthcheck http://localhost/api/info || exit 1
EXPOSE 80
ENTRYPOINT ["/entrypoint.sh"]
CMD ["wallabag"]