DEV Community

Cover image for I’m building a validated Docker Compose hub — and you can contribute
Tumic
Tumic

Posted on

I’m building a validated Docker Compose hub — and you can contribute

If you’ve worked with Docker, you’ve probably done this more than once:

  • search for a docker-compose.yml
  • copy it
  • fix errors
  • add missing env variables
  • make it actually work

Repeat… every time you need a new service.


The problem

There are tons of Docker Compose examples online, but:

  • many are outdated
  • many don’t include .env setups
  • many break when you actually run them
  • and most aren’t designed for reuse

👉 You don’t know if something works until you try it.


What I built

I launched:

👉 https://dockercomposehub.com

It’s a hub of production-ready Docker Compose templates designed to be:

  • copy-paste friendly
  • clean and minimal
  • ready to run

What makes it different

Every template is validated before it’s published.

That means:

  • ✅ Docker Compose structure is checked
  • ✅ Required services and configs are present
  • ✅ Security issues are flagged (unsafe mounts, privileged mode, etc.)
  • ✅ The setup is actually run and verified

👉 Only templates that pass all checks are listed.


Why this matters

Most examples online are basically:

“Here’s a config… good luck”

But small issues break everything:

  • wrong env variable names
  • missing volumes
  • incompatible versions
  • unsafe defaults

👉 Validation turns templates into something you can actually trust.


I want this to be community-driven

Right now it’s early — and that’s where you come in.

Instead of one person maintaining templates, I want to build:

👉 a shared library of validated Docker Compose setups


You can submit your templates

If you’ve built something that works well, you can share it:

  • single services (Postgres, Redis, Grafana…)
  • full stacks (app + database + reverse proxy)
  • niche or production-ready setups

Every submission goes through the validation pipeline before being published.


What makes a good submission?

  • ✅ uses .env (no hardcoded secrets)
  • ✅ includes persistent volumes
  • ✅ clean and minimal
  • ✅ actually works

Bonus:

  • security best practices
  • real-world usage
  • sensible defaults

Why contribute?

  • Help other developers save time
  • Share something you’ve already built
  • Get credited on the platform
  • Help define a standard for Docker Compose templates

The goal

To create a place where:

👉 You don’t Google “docker compose X” anymore
👉 You just search, copy, and run a validated setup


If you’ve ever written a compose file that worked well —
that’s already valuable.

Would love to see what you’ve built 🙏

Top comments (0)