Skip to content

Commit

Permalink
Update backend port env variable in start.dev.sh and start.sh scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedabdou14 committed Apr 19, 2024
1 parent 82f2e89 commit b91c46c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/start.dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export APP_MODULE="$MODULE_NAME:app"

# Set host and port
HOST=${HOST?backend host undefined}
PORT=${BACKEND_DEV_PORT?PORT undefined}
PORT=${BACKEND_PORT?PORT undefined}
LOG_LEVEL=${LOG_LEVEL:-info}

# Start Uvicorn
Expand Down
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export APP_MODULE="app.main:app"

# Set host and port
HOST=${HOST?backend host undefined}
PORT=${BACKEND_DEV_PORT?PORT undefined}
PORT=${BACKEND_PORT?PORT undefined}

GUNICORN_CONF=${GUNICORN_CONF:-"gunicorn.conf.py"}
WORKER_CLASS=${WORKER_CLASS:-"uvicorn.workers.UvicornWorker"}
Expand Down

0 comments on commit b91c46c

Please sign in to comment.