Commit a63507c2 authored by Anuraag Jain's avatar Anuraag Jain
Browse files

feat: custom port for server

parent 5c5bde3b
uvicorn main:app --port 8080 --host 0.0.0.0 --forwarded-allow-ips '*' --reload
\ No newline at end of file
SERVER_PORT="${SERVER_PORT:-8080}"
uvicorn main:app --port $SERVER_PORT --host 0.0.0.0 --forwarded-allow-ips '*' --reload
\ No newline at end of file
#!/usr/bin/env bash
uvicorn main:app --host 0.0.0.0 --port 8080 --forwarded-allow-ips '*'
SERVER_PORT="${SERVER_PORT:-8080}"
uvicorn main:app --host 0.0.0.0 --port $SERVER_PORT --forwarded-allow-ips '*'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment