mirror of
https://github.com/Xevion/linkpulse.git
synced 2025-12-11 00:07:45 -06:00
Switch railway.json startCommand to module serve, use PORT variable
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import os
|
||||
import sys
|
||||
import structlog
|
||||
|
||||
@@ -17,6 +18,7 @@ def main(*args):
|
||||
"linkpulse.app:app",
|
||||
reload=True,
|
||||
host="0.0.0.0",
|
||||
port=int(os.getenv("PORT", "8000")),
|
||||
log_config={
|
||||
"version": 1,
|
||||
"disable_existing_loggers": False,
|
||||
|
||||
Reference in New Issue
Block a user