6755063c7b
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
15 lines
393 B
YAML
15 lines
393 B
YAML
services:
|
|
paper-trader:
|
|
build: .
|
|
container_name: pythagoras-paper
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./data:/app/data
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import json; s=json.load(open('/app/data/paper_trades/status.json')); assert s['last_update']"]
|
|
interval: 120s
|
|
timeout: 10s
|
|
retries: 3
|