services: btc-monitor: build: context: . image: btc-accumulation-monitor:local container_name: btc-accumulation-monitor init: true ports: - "10.0.10.20:3088:3088" restart: unless-stopped environment: PLAYWRIGHT_BROWSERS_PATH: /ms-playwright volumes: # Persist live history/cache and user-editable settings on the Mac Mini. - ./data:/app/data - ./config:/app/config healthcheck: test: - CMD - /app/.venv/bin/python - -c - "import urllib.request; urllib.request.urlopen('http://127.0.0.1:3088/health/live', timeout=3)" interval: 30s timeout: 5s start_period: 30s retries: 3 stop_grace_period: 30s