mirror of
https://github.com/skylanix/MamieHenriette.git
synced 2026-02-06 06:40:35 +01:00
Corrige erreur détection ERROR CRITICAL
This commit is contained in:
@@ -35,6 +35,6 @@ RUN python3 -m venv /app/venv && \
|
||||
mkdir -p /app/logs
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||
CMD pgrep python > /dev/null && ! (ps aux | grep '[r]un-web.py' | grep -q python) && exit 1 || exit 0
|
||||
CMD pgrep python > /dev/null && ! (tail -n 20 /app/logs/$(hostname).log 2>/dev/null | grep -iE "(ERROR|CRITICAL|Exception|sqlite3\.OperationalError)") || exit 1
|
||||
|
||||
CMD ["/start.sh"]
|
||||
|
||||
Reference in New Issue
Block a user