Add Strike ticker poller, Docker .env config, and Frankfurter retry logic

- Poll Strike API every 10s, store all rates as JSONB in strike_price table
- Move Docker env vars to .env file, use shared network for cross-project communication
- Add startup retry (5x 5s) for Frankfurter poller to handle container race condition

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 08:50:21 +01:00
co-authored by Claude Opus 4.6
parent 26420fd6ec
commit dbf19566e8
8 changed files with 122 additions and 11 deletions
+5 -1
View File
@@ -60,4 +60,8 @@
{:query-fn #ig/ref :db.sql/query-fn}
:frankfurter/rates
{:url #or [#env FRANKFURTER_URL "http://localhost:8080"]}}
{:url #or [#env FRANKFURTER_URL "http://localhost:8080"]}
:strike/ticker
{:query-fn #ig/ref :db.sql/query-fn
:api-key #env STRIKE_API_KEY}}