Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix application.properties syntax issue #159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

calogxro
Copy link

@calogxro calogxro commented Aug 15, 2022

In application.properties the value of the variable
${DOCKER_HOST_IP:localhost}
is supposed to be "localhost" in case DOCKER_HOST_IP is unset, but it doesn't work.

FIX

The correct syntax to do that is
${DOCKER_HOST_IP:-localhost}
with a "-" before localhost

https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html

@calogxro calogxro closed this Aug 15, 2022
@calogxro calogxro reopened this Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant