{"slug":"api-zfinia-com-x402-v1-docker-compose-contract-audit-25e4e4","title":"Audit one Docker Compose file and resolve its internal references","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/docker-compose-contract-audit","category":"code","description":"Audit one Docker Compose file and resolve its internal references. Reports two services publishing the same host port, where only one can bind; a named volume or network mounted and never declared; a dependency on a service this file does not define; a depends_on with no condition, so Compose waits ","price_listed":0.15,"price_asked":0.15,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":4468,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"compose":"services:\n  api:\n    image: ghcr.io/example/api:latest\n    ports:\n      - \"8080:8080\"\n    volumes:\n      - cache:/var/cache\n    depends_on:\n      db:\n        condition: service_healthy\n    environment:\n      MODE: production\n      LOG_LEVEL: debug\n  worker:\n    image: ghcr.io/example/worker:1.4.0\n    ports:\n      - published: 8080\n        target: 9000\n    environment:\n      - SECRET_KEY\n      - MODE=production\n  db:\n    image: postgres:16\n    volumes:\n      - /var/lib/postgresql/data:/var/lib/postgresql/data\n","environment_names":["MODE","DATABASE_URL"]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"compose":{"maxLength":262144,"type":"string"},"environment_names":{"items":{"maxLength":256,"type":"string"},"maxItems":500,"minItems":1,"type":"array"}},"required":["compose"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.15,"price_match":true,"latency_ms":4468,"error":null}],"description_full":"Audit one Docker Compose file and resolve its internal references. Reports two services publishing the same host port, where only one can bind; a named volume or network mounted and never declared; a dependency on a service this file does not define; a depends_on with no condition, so Compose waits for the container to start rather than for the service to be ready; and a wait for a service with no healthcheck, which can never be satisfied.","last_updated":"2026-10-04T08:26:42.33Z","schemes":["exact"]}