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