import os
PORT = os.environ["PORT"]
n_replica = os.getenv("REPLICAS", None)
app = create_app(debug=False, n_replica=n_replica)
if __name__ == "__main__":
After Change
"-p",
type=int,
help="Port number of the socket.io server, e.g. --port=8777. Default is os.environ.get("GRID_GATEWAY_PORT", None).",
default=os.environ.get("GRID_GATEWAY_PORT", None),
)
parser.add_argument(