From 70626d650f7fadddeb0109446f2eda6f2a189b3c Mon Sep 17 00:00:00 2001 From: gtrantham Date: Thu, 12 Dec 2024 13:08:54 -0600 Subject: [PATCH] port number update --- docker-compose.yml | 6 +++--- start_nldi_server.sh | 7 +------ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 522e6b1..c46f10d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,10 +26,10 @@ services: context: . container_name: nldi-py ports: - - "8081:80" + - "8080:80" environment: NLDI_PATH: /api/nldi - NLDI_URL: http://localhost:8001/api/nldi + NLDI_URL: http://localhost:80/api/nldi NLDI_DB_HOST: nldi-db NLDI_DB_PORT: 5432 NLDI_DB_NAME: nldi @@ -39,7 +39,7 @@ services: networks: - nldi - + networks: nldi: diff --git a/start_nldi_server.sh b/start_nldi_server.sh index 9bbfe4d..ba44365 100755 --- a/start_nldi_server.sh +++ b/start_nldi_server.sh @@ -13,16 +13,11 @@ export NLDI_CONFIG="${NLDI_HOME}/local.source.yml" #export SCRIPT_NAME=${NLDI_PATH:=/} CONTAINER_NAME=${CONTAINER_NAME:=nldi} CONTAINER_HOST=${CONTAINER_HOST:=0.0.0.0} -CONTAINER_PORT=${CONTAINER_PORT:=8081} +CONTAINER_PORT=${CONTAINER_PORT:=8080} WSGI_WORKERS=${WSGI_WORKERS:=4} WSGI_WORKER_TIMEOUT=${WSGI_WORKER_TIMEOUT:=6000} WSGI_WORKER_CLASS=${WSGI_WORKER_CLASS:=gevent} -# Shorthand -function error() { - echo "ERROR: $@" - exit -1 -} # Workdir cd ${NLDI_HOME}