Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5a2100 commit 2e38f76Copy full SHA for 2e38f76
‎deploy/docker/all-in-one/entrypoint.sh
@@ -19,10 +19,10 @@ fi;
19
20
# Update host on which mongo is supposed to listen
21
# If LOWCODER_MONGODB_EXPOSED is true, it will isten on all interfaces
22
-if [[ "${LOWCODER_MONGODB_EXPOSED}" =~ [Tt][Rr][Uu][Ee] ]]; then
+if [ "${LOWCODER_MONGODB_EXPOSED}" = "true" ]; then
23
export MONGO_LISTEN_HOST="0.0.0.0"
24
else
25
- export MONGO_LISTEN_HOST="localhost"
+ export MONGO_LISTEN_HOST="127.0.0.1"
26
fi;
27
28
LOGS="/lowcoder-stacks/logs"
0 commit comments