Files
PythagorasGoal/docker-compose.yml
Adriano Dal Pastro 2694a4a00c feat: notifiche Telegram dal paper trader via bot
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 08:52:11 +00:00

17 lines
420 B
YAML

services:
paper-trader:
build: .
container_name: pythagoras-paper
restart: unless-stopped
volumes:
- ./data:/app/data
env_file:
- .env
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