Skip to content

Commit

Permalink
port number update
Browse files Browse the repository at this point in the history
  • Loading branch information
gtrantham committed Dec 12, 2024
1 parent ca47e78 commit 70626d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -39,7 +39,7 @@ services:
networks:
- nldi



networks:
nldi:
Expand Down
7 changes: 1 addition & 6 deletions start_nldi_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 70626d6

Please sign in to comment.