wehb dash!

This commit is contained in:
Dobromir Popov
2025-09-02 12:19:49 +03:00
parent b3ec402a2e
commit 1e9a56356e
4 changed files with 21 additions and 5 deletions

View File

@@ -603,6 +603,12 @@ class RinCoinMiningPool:
stats_thread = threading.Thread(target=self.stats_updater, daemon=True)
stats_thread.start()
# Start web interface in background
web_thread = threading.Thread(target=start_web_interface, args=(self.db, '0.0.0.0', 8083), daemon=True)
web_thread.start()
print(f"🌐 Web dashboard started on http://0.0.0.0:8083")
# Start Stratum server
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)