feat: Add healthcheck, graceful shutdown, and SSL verify option
All checks were successful
Docker Build & Push / build-and-push (push) Successful in 19s

This commit is contained in:
Gemini Bot
2025-12-09 19:19:30 +00:00
parent 61d2fd3b24
commit e656dc6f16
3 changed files with 71 additions and 16 deletions

View File

@@ -20,3 +20,6 @@ COPY sync.py /sync.py
ENV PYTHONUNBUFFERED=1
CMD ["python", "/sync.py"]
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD [ $(date +%s) -lt $(($(stat -c %Y /tmp/healthy) + 60)) ] || exit 1