mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
12 lines
316 B
Python
12 lines
316 B
Python
|
|
"""
|
||
|
|
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")
|