mirror of
https://github.com/ManiMatter/decluttarr.git
synced 2026-04-19 09:54:10 +02:00
Added health check
This commit is contained in:
@@ -36,6 +36,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY main.py main.py
|
||||
COPY src src
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||
CMD pgrep -f main.py || exit 1
|
||||
|
||||
CMD ["python", "main.py"]
|
||||
|
||||
# For debugging:
|
||||
|
||||
Reference in New Issue
Block a user