mirror of
https://github.com/skoelle/dyndns-updater.git
synced 2026-09-17 16:10:25 +00:00
heathcheck / README.md / webhook_port
This commit is contained in:
@@ -17,4 +17,7 @@ ENV PYTHONUNBUFFERED=1
|
||||
|
||||
EXPOSE 8090
|
||||
|
||||
HEALTHCHECK --interval=5m --timeout=3s --retries=3 \
|
||||
CMD python3 -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8090/healthz', timeout=2)" || exit 1
|
||||
|
||||
CMD ["python", "-m", "app.main"]
|
||||
|
||||
Reference in New Issue
Block a user