Templates Edit the templates behind every config file
Waddle uses a templating system to produce
your project's scripts and config files. The
template
repository is MIT licensed, and can be
forked and modified if you need changes applied
to every new project you create.
When building, or rendering (an optional
standalone process, as well as an automatic
first step of every build), Waddle copies all
required templates from the template repository
into your project directory.
It also updates the templates in your project
when updates become available in the template
repository, and removes deprecated templates,
along with their rendered files, when they're
removed from the template repository.
When rendering, Waddle renders every file in
the project's templates directory. That means
you can create your own templates from scratch
for whatever config or scripted functionality
you need, using the custom
Handlebars
functions and
data
Waddle supplies. You can also modify any
template to suit your needs, and critically,
you can modify the Docker Compose config to
include any service you need that Waddle
doesn't natively supply.
Waddle never removes or overwrites anything
that has local changes inside a project. If
you've modified a template or its rendered
file, Waddle always lets you know before a
build, and gives you the opportunity to opt in
or out of updating it. If you opt in, your
local changes might need to be re-applied.