feat(docker): show what api url the container is using on startup
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2021-10-04 20:44:45 +02:00
parent 78ec87360e
commit 0453758117
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 0 deletions

2
run.sh
View File

@ -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')