From 6b5200fead1169fd41b8d9ff9e8ade58f67258f0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 27 Sep 2023 16:57:57 +0200 Subject: [PATCH] root: fix missing /lifecycle in path Signed-off-by: Jens Langhammer --- Dockerfile | 6 +++--- website/docs/installation/monitoring.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index bbbcee63e..95d20d999 100644 --- a/Dockerfile +++ b/Dockerfile @@ -146,10 +146,10 @@ USER 1000 ENV TMPDIR=/dev/shm/ \ PYTHONDONTWRITEBYTECODE=1 \ PYTHONUNBUFFERED=1 \ - PATH="/ak-root/venv/bin:$PATH" \ + PATH="/ak-root/venv/bin:/lifecycle:$PATH" \ VENV_PATH="/ak-root/venv" \ POETRY_VIRTUALENVS_CREATE=false -HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 CMD [ "/lifecycle/ak", "healthcheck" ] +HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 CMD [ "ak", "healthcheck" ] -ENTRYPOINT [ "dumb-init", "--", "/lifecycle/ak" ] +ENTRYPOINT [ "dumb-init", "--", "ak" ] diff --git a/website/docs/installation/monitoring.md b/website/docs/installation/monitoring.md index 6d8506523..a3d03bc70 100644 --- a/website/docs/installation/monitoring.md +++ b/website/docs/installation/monitoring.md @@ -10,7 +10,7 @@ Configure your monitoring software to send requests to `/-/health/live/`, which ## Worker monitoring -The worker container can be monitored by running `/lifecycle/ak healthcheck` in the worker container. This will ping the worker and ensure it can communicate with redis as required. +The worker container can be monitored by running `ak healthcheck` in the worker container. This will ping the worker and ensure it can communicate with redis as required. ## Outpost monitoring