From 24187495e1248ab7d30f8f55692b93011cea2560 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Wed, 3 Dec 2025 18:46:42 +1100 Subject: [PATCH] BE: debug - removal of GRAPHQL PORT conflict check Signed-off-by: jokob-sk --- .../entrypoint.d/99-ports-available.sh | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/install/production-filesystem/entrypoint.d/99-ports-available.sh b/install/production-filesystem/entrypoint.d/99-ports-available.sh index 336e9f50..d18aa4fd 100755 --- a/install/production-filesystem/entrypoint.d/99-ports-available.sh +++ b/install/production-filesystem/entrypoint.d/99-ports-available.sh @@ -5,22 +5,22 @@ # Define ports from ENV variables, applying defaults PORT_APP=${PORT:-20211} -PORT_GQL=${APP_CONF_OVERRIDE:-${GRAPHQL_PORT:-20212}} +# PORT_GQL=${APP_CONF_OVERRIDE:-${GRAPHQL_PORT:-20212}} -# Check if ports are configured to be the same -if [ "$PORT_APP" -eq "$PORT_GQL" ]; then - cat </dev/null 2>&1; then @@ -53,17 +53,17 @@ if echo "$LISTENING_PORTS" | grep -q ":${PORT_APP}$"; then EOF fi -# Check GraphQL Port -# We add a check to avoid double-warning if ports are identical AND in use -if [ "$PORT_APP" -ne "$PORT_GQL" ] && echo "$LISTENING_PORTS" | grep -q ":${PORT_GQL}$"; then - cat <