import os from waitress import serve from vfire_monitor import create_app app = create_app(base_dir=os.getenv("VFM_BASE_DIR")) if __name__ == "__main__": serve( app, host=os.getenv("HOST", "127.0.0.1"), port=int(os.getenv("PORT", "8088")), threads=int(os.getenv("VFM_WAITRESS_THREADS", "8")), )