{"slug":"code-halowerk-com-v1-compose-validate-30efce","title":"Validate a docker-compose file against the official Compose Specification JSON S","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/compose-validate","category":"image","description":"Validate a docker-compose file against the official Compose Specification JSON Schema and flag missing resource limits, privileged or host-namespace services, Docker socket mounts, secrets in environment and unpinned images.","price_listed":0.003,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"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  web:\n    image: nginx:1.27\n    ports:\n      - \"8080:80\"\n    deploy:\n      resources:\n        limits:\n          cpus: \"0.5\"\n          memory: 256M\n"},"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":{"description":"Content of compose.yaml / docker-compose.yml.","maxLength":1000000,"minLength":1,"type":"string"}},"required":["compose"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"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":[],"description_full":"Validate a docker-compose file against the official Compose Specification JSON Schema and flag missing resource limits, privileged or host-namespace services, Docker socket mounts, secrets in environment and unpinned images.","last_updated":"2026-11-20T12:17:28.697Z","schemes":["exact"]}