mirror of
https://github.com/tubearchivist/jellyfin.git
synced 2024-11-16 17:00:14 +00:00
configure LISTEN_PORT
This commit is contained in:
parent
02629fe090
commit
cbb7711a7d
@ -1,5 +1,7 @@
|
||||
"""wait for hooks"""
|
||||
|
||||
from os import environ
|
||||
|
||||
from flask import Flask
|
||||
from main import main as run_refresh
|
||||
|
||||
@ -15,5 +17,5 @@ def home():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
PORT = 8080
|
||||
PORT = int(environ.get("LISTEN_PORT", 8001))
|
||||
app.run(host="0.0.0.0", port=PORT)
|
||||
|
Loading…
Reference in New Issue
Block a user