← Back to directory

Validate a docker-compose file against the official Compose Specification JSON S...

https://code.halowerk.com/v1/compose-validate

Overview

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.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network Base
Category media/images
Provider code
Source bazaar
Indexed 2026-11-20 13:00:15

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "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

{ "example": { "limitations": [ "Variables are not interpolated; values containing ${...} are validated as strings, as Compose does before interpolation only partially.", "Images are not pulled: a healthcheck or user defined inside an image is not visible.", "include, extends and env_file references are not loaded." ], "result": { "findings": [ { "message": "No healthcheck in the Compose file (the image may define one).", "rule": "no_healthcheck", "service": "web", "severity": "info", "source": "https://github.com/compose-spec/compose-spec/blob/main/05-services.md#healthcheck" }, { "message": "No restart policy; the default \"no\" does not restart the container after a crash or reboot.", "rule": "no_restart_policy", "service": "web", "severity": "info", "source": "https://github.com/compose-spec/compose-spec/blob/main/05-services.md#restart" } ], "schema_errors": [], "schema_source": "compose-spec/compose-spec@3a4a6995e4a971f6173dff9130cb3e38e6738651 schema/compose-spec.json", "services": [ { "build": false, "cpu_limit": "0.5", "image": "nginx:1.27", "memory_limit": "256M", "name": "web", "restart": null } ], "summary": { "critical": 0, "high": 0, "info": 2, "low": 0, "medium": 0 }, "valid_schema": true, "variables": [] }, "service": "compose-validate", "status": "success" }, "type": "json" }