feat: custom port for server
This commit is contained in:
1 parent
5c5bde3b85
commit
a63507c21e
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -1 +1,2 @@
|
|||||||
uvicorn main:app --port 8080 --host 0.0.0.0 --forwarded-allow-ips '*' --reload
|
SERVER_PORT="${SERVER_PORT:-8080}"
|
||||||
|
uvicorn main:app --port $SERVER_PORT --host 0.0.0.0 --forwarded-allow-ips '*' --reload
|
||||||
+2
-1
@@ -1,3 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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 '*'
|
||||||
Reference in new issue
Block a user