Add REST API with dashboard and configurable port (server.host/port, TM_PORT, --port)
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user