feat(docker): show what api url the container is using on startup
This commit is contained in:
parent
78ec87360e
commit
0453758117
1 changed files with 2 additions and 0 deletions
2
run.sh
2
run.sh
|
@ -7,6 +7,8 @@ VIKUNJA_API_URL="${VIKUNJA_API_URL:-"/api/v1"}"
|
||||||
VIKUNJA_HTTP_PORT="${VIKUNJA_HTTP_PORT:-80}"
|
VIKUNJA_HTTP_PORT="${VIKUNJA_HTTP_PORT:-80}"
|
||||||
VIKUNJA_HTTPS_PORT="${VIKUNJA_HTTPS_PORT:-443}"
|
VIKUNJA_HTTPS_PORT="${VIKUNJA_HTTPS_PORT:-443}"
|
||||||
|
|
||||||
|
echo "Using $VIKUNJA_API_URL as default api url"
|
||||||
|
|
||||||
# Escape the variable to prevent sed from complaining
|
# Escape the variable to prevent sed from complaining
|
||||||
VIKUNJA_API_URL=$(echo $VIKUNJA_API_URL |sed 's/\//\\\//g')
|
VIKUNJA_API_URL=$(echo $VIKUNJA_API_URL |sed 's/\//\\\//g')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue