services: thread-ripper: build: context: . dockerfile: Dockerfile container_name: thread-ripper restart: unless-stopped ports: - "5000:5000" environment: - PORT=5000 - DATA_DIR=/app/data volumes: - ./data:/app/data healthcheck: test: ["CMD-SHELL", "python -c 'import urllib.request; urllib.request.urlopen(\"http://localhost:5000/api/health\")'"] interval: 30s timeout: 10s retries: 3 start_period: 15s