mirror of
https://github.com/luxfi/broker.git
synced 2026-09-24 00:25:18 +00:00
Same issue as snapshots — Alpaca sandbox returns 404 for
/v1beta3/crypto/us/{sym}/bars but works with
/v1beta3/crypto/us/bars?symbols={sym}. Also handle the wrapped
response format {"bars":{"BTC/USD":[...]}} vs stock {"bars":[...]}.
20 lines
377 B
YAML
20 lines
377 B
YAML
services:
|
|
sql:
|
|
image: postgres:17-alpine
|
|
environment:
|
|
POSTGRES_USER: broker
|
|
POSTGRES_PASSWORD: broker
|
|
POSTGRES_DB: broker
|
|
ports:
|
|
- "5434:5432"
|
|
volumes:
|
|
- pg-data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U broker"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 5
|
|
|
|
volumes:
|
|
pg-data:
|