mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 02:48:38 -04:00
Migrating Controller from port 8087 to 80 so that it is more discoverable. Reformatting Controller dashboard to make header at the top. Reformatting navigation bar to handle the new links which prevented Admin from being visible in some screens.
This commit is contained in:
parent
c316a178f9
commit
e0324ce0fc
33 changed files with 302 additions and 407 deletions
11
controller/serve.py
Normal file
11
controller/serve.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"""
|
||||
Entry point for the WROLPi Controller.
|
||||
|
||||
Starts uvicorn on port 80 (the primary HTTP entry point for users).
|
||||
Docker maps this to external port 8080; native/RPi uses port 80 directly.
|
||||
"""
|
||||
|
||||
import uvicorn
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run("controller.main:app", host="0.0.0.0", port=80, log_level="info")
|
||||
Loading…
Add table
Add a link
Reference in a new issue