Add REST API with dashboard and configurable port (server.host/port, TM_PORT, --port)

This commit is contained in:
Tobias Zimmermann
2026-08-22 12:26:17 +02:00
parent 7959dd71ff
commit 98a332da79
11 changed files with 570 additions and 3 deletions
+6
View File
@@ -45,6 +45,12 @@ training:
seed: 42
state_file: state/weights.json
# REST-API / Dashboard (Befehl: trademind serve)
server:
host: 0.0.0.0
port: 8080 # host-Port (im Container: TM_PORT / mapping in podman-compose)
public_base_url: "" # optional: von außen erreichbare URL (Reverse Proxy)
exchanges:
binance:
api_key: ${BINANCE_API_KEY}