Files
PythagorasGoal/docker-compose.yml
T
2026-05-27 10:10:02 +02:00

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