mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-25 19:15:18 +02:00
chore: prepare cloud merge point with docker and firebase configs in movexe fork Boris account? No, current user.
This commit is contained in:
parent
b38a297349
commit
4a6b335ce3
14 changed files with 263 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ def load_uvicorn_config(args=None):
|
|||
config_kwargs = {
|
||||
"app": "app.app:app",
|
||||
"host": os.getenv("UVICORN_HOST", "0.0.0.0"),
|
||||
"port": int(os.getenv("UVICORN_PORT", 8000)),
|
||||
"port": int(os.getenv("UVICORN_PORT", os.getenv("PORT", 8000))),
|
||||
"log_level": os.getenv("UVICORN_LOG_LEVEL", "info"),
|
||||
"reload": args.reload if args else False,
|
||||
"reload_dirs": ["app"] if (args and args.reload) else None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue