rework build, requirements and pipline

This commit is contained in:
2026-01-18 23:55:52 +01:00
parent 4170a3f3b4
commit 97737c8b73
10 changed files with 80 additions and 79 deletions

View File

@@ -22,7 +22,6 @@ server_host = socket.gethostname()
server_ip = socket.gethostbyname(server_host)
server_port = os.environ.get('SERVER_PORT', '19998')
app = Flask(__name__)
def get_docker_data(q_context, q_dimension):
@@ -128,7 +127,7 @@ def check_url(url, timeout=5):
sys.exit(1)
if __name__ == '__main__':
# app.run(host='0.0.0.0', port=19998, debug=True)
# app.run(host='0.0.0.0', port=server_port, debug=True)
check_url(netdata_host)
print(f"Dashboard started at http://{server_host}:{server_port} | http://{server_ip}:{server_port}", file=sys.stderr)
serve(app, host="0.0.0.0", port=server_port)