Skip to content

Env variables cleanup #641

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

Merged
merged 2 commits into from
Jan 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
new: rename and consolidate environment variables
  • Loading branch information
ludomikula committed Jan 16, 2024
commit 27ca2d4f2382a3e6615e0806344d947001c6efbb
4 changes: 2 additions & 2 deletions deploy/docker/all-in-one/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ fi;

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

LOGS="/lowcoder-stacks/logs"
Expand Down