Files
btcdata/docker-compose.yml
T
magnusandClaude Opus 4.6 dbf19566e8 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>
2026-03-06 08:50:21 +01:00

29 lines
659 B
YAML

networks:
shared:
name: shared
external: true
services:
btcdata:
build: .
restart: unless-stopped
ports:
- "${DOCKER_BTCDATA_PORT}:${DOCKER_BTCDATA_PORT}"
depends_on:
- frankfurter
networks:
- default
- shared
environment:
BTCDATA_PORT: "${DOCKER_BTCDATA_PORT}"
JDBC_URL: "${DOCKER_JDBC_URL}"
CORS_ORIGIN: "${DOCKER_CORS_ORIGIN}"
FRANKFURTER_URL: "${DOCKER_FRANKFURTER_URL}"
STRIKE_API_KEY: "${STRIKE_API_KEY}"
extra_hosts:
- "postgres:host-gateway"
frankfurter:
image: lineofflight/frankfurter
restart: unless-stopped