Files
btcdata/docker-compose.yml
magnusandClaude Opus 4.6 747c834e6a Add KRAKEN_ENABLED flag to disable Kraken pollers in local dev
Same pattern as BINANCE_ENABLED and STRIKE_ENABLED. Prevents local
dev from fetching external pricing data when pointed at btcprod.
Docker explicitly sets KRAKEN_ENABLED=true.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 10:45:10 +01:00

31 lines
723 B
YAML

networks:
btc-network:
name: btc-network
external: true
services:
btcdata:
build: .
restart: unless-stopped
ports:
- "${DOCKER_BTCDATA_PORT}:${DOCKER_BTCDATA_PORT}"
depends_on:
- frankfurter
networks:
- btc-network
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}"
KRAKEN_ENABLED: "true"
extra_hosts:
- "postgres:host-gateway"
frankfurter:
image: lineofflight/frankfurter
restart: unless-stopped
networks:
- btc-network