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
+12
View File
@@ -41,6 +41,18 @@ services:
- ./state:/app/state
restart: "no"
serve:
image: trademind:latest
container_name: tm-serve
command: ["serve", "--config", "/app/config.yaml"]
ports:
- "${TM_PORT:-8080}:8080" # Host-Port anpassbar, zB. TM_PORT=9000 podman-compose up serve
environment:
- TZ=Europe/Berlin
volumes:
- ./state:/app/state
restart: "no"
live:
image: trademind:latest
container_name: tm-live