Add Frankfurter EUR/DKK rate polling and include rates in WebSocket stream

Polls self-hosted Frankfurter API hourly for USD-based EUR and DKK exchange
rates. Both the WebSocket HTML fragments and the /api/price/latest JSON
endpoint now include the currency rates alongside BTC price.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 14:22:24 +01:00
co-authored by Claude Opus 4.6
parent 39ec47b5e1
commit 7d6ca3911f
5 changed files with 113 additions and 22 deletions
+3
View File
@@ -4,10 +4,13 @@ services:
restart: unless-stopped
ports:
- "4101:4101"
depends_on:
- frankfurter
environment:
BTCDATA_PORT: "4101"
JDBC_URL: "jdbc:postgresql://postgres:5432/btcprod?user=postgres&password=ratata,123"
CORS_ORIGIN: "http://localhost:4041"
FRANKFURTER_URL: "http://frankfurter:8080"
extra_hosts:
- "postgres:host-gateway"