Add production installer and observability tooling
This commit is contained in:
+6
-2
@@ -3,8 +3,12 @@ import os
|
||||
from vfire_monitor import create_app
|
||||
|
||||
|
||||
app = create_app()
|
||||
app = create_app(base_dir=os.getenv("VFM_BASE_DIR"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", port=int(os.getenv("PORT", "8080")), debug=False)
|
||||
app.run(
|
||||
host=os.getenv("HOST", "0.0.0.0"),
|
||||
port=int(os.getenv("PORT", "8080")),
|
||||
debug=False,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user