feat: Add healthcheck, graceful shutdown, and SSL verify option
All checks were successful
Docker Build & Push / build-and-push (push) Successful in 19s
All checks were successful
Docker Build & Push / build-and-push (push) Successful in 19s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user