Skip to content

Commit 2e38f76

Browse files
committed
new: rename and consolidate environment variables
1 parent a5a2100 commit 2e38f76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/docker/all-in-one/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ fi;
1919

2020
# Update host on which mongo is supposed to listen
2121
# If LOWCODER_MONGODB_EXPOSED is true, it will isten on all interfaces
22-
if [[ "${LOWCODER_MONGODB_EXPOSED}" =~ [Tt][Rr][Uu][Ee] ]]; then
22+
if [ "${LOWCODER_MONGODB_EXPOSED}" = "true" ]; then
2323
export MONGO_LISTEN_HOST="0.0.0.0"
2424
else
25-
export MONGO_LISTEN_HOST="localhost"
25+
export MONGO_LISTEN_HOST="127.0.0.1"
2626
fi;
2727

2828
LOGS="/lowcoder-stacks/logs"

0 commit comments

Comments
 (0)