From 0453758117d43a5285208e6d527b7bb39372c409 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 4 Oct 2021 20:44:45 +0200 Subject: [PATCH] feat(docker): show what api url the container is using on startup --- run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run.sh b/run.sh index f6421f892..995ccfcaf 100755 --- a/run.sh +++ b/run.sh @@ -7,6 +7,8 @@ VIKUNJA_API_URL="${VIKUNJA_API_URL:-"/api/v1"}" VIKUNJA_HTTP_PORT="${VIKUNJA_HTTP_PORT:-80}" VIKUNJA_HTTPS_PORT="${VIKUNJA_HTTPS_PORT:-443}" +echo "Using $VIKUNJA_API_URL as default api url" + # Escape the variable to prevent sed from complaining VIKUNJA_API_URL=$(echo $VIKUNJA_API_URL |sed 's/\//\\\//g')