The Templates Repository

What lives in Waddle's templates repository: the template files that render your project's Docker configs, service configs, and deploy scripts.

Every file Waddle generates for a project, docker-compose.yml, Dockerfiles, Nginx and PHP config, deploy scripts, platform installers, starts life as a Handlebars template. Those templates live in their own repository, separate from the Waddle app itself.

What’s in it

The repository is organized by service: php/, nginx/, mariadb/, redis/, node/, opensearch/, and so on, plus platform-specific installers for every supported platform (WordPress, Magento, Laravel, and the rest). Each template uses Handlebars syntax with a handful of custom helpers to read a project’s settings and conditionally include or omit content.

How Waddle uses it

Waddle keeps a local copy of this repository and copies the subset of templates a project actually needs, based on the platform you chose and the services you enabled, into that project’s templates/ folder. From there, rendering turns them into the concrete files your stack runs from.

Because templates ship from their own repository, fixes and new platform support can land independently of the main Waddle app update. If you’ve customized a rendered file yourself, Waddle tracks that and won’t overwrite your changes when templates update.

Using a fork

Waddle fully supports pointing your local templates repository at a fork instead of the official one, useful if you want to tweak templates and want such modifications to always be the standard for your projects. Waddle checks that the repository’s origin remote matches the official URL, so switching to a fork trips a warning in the UI.

That warning is just a safeguard confirming the switch was intentional, it isn’t an error and doesn’t block anything. If you know you’re using a fork on purpose, it’s safe to ignore.