version: '3.8' services: # The Environment Server (HuggingFace Spaces compatible) server: build: . image: openenv-scaler:latest ports: - "7860:7860" environment: - PORT=7860 healthcheck: test: ["CMD", "curl", "-f", "http://localhost:7860/health"] interval: 5s timeout: 3s retries: 5 start_period: 2s # Automated Verifier (Runs all checks and then exits) verifier: image: openenv-scaler:latest depends_on: server: condition: service_healthy command: ["bash", "/app/verify.sh"] environment: - ENV_BASE_URL=http://server:7860