Docker Compose Validator

Validate docker-compose YAML files.

Paste or upload a docker-compose YAML file

version: "3.8" services: web: image: node:20-alpine ports: - "3000:3000" environment: NODE_ENV: production PORT: "3000" env_file: - .env depends_on: - db networks: - app-net volumes: - app-data:/app/data profiles: - frontend db: image: postgres:16-alpine environment: POSTGRES_USER: app POSTGRES_PASSWORD: secret POSTGRES_DB: mydb networks: - app-net volumes: - db-data:/var/lib/postgresql/data networks: app-net: driver: bridge volumes: app-data: db-data:

Press +Enter to validate

Run Validate to see structure and any errors.